Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +01:00
Rewrite transfer intention on older servers
Dieser Commit ist enthalten in:
Ursprung
52b9db5029
Commit
ceae2c2094
@ -95,8 +95,14 @@ public class BaseProtocol extends AbstractProtocol {
|
||||
|
||||
if (state == STATUS_INTENT) {
|
||||
info.setState(State.STATUS);
|
||||
} else if (state == LOGIN_INTENT || state == TRANSFER_INTENT) {
|
||||
} else if (state == LOGIN_INTENT) {
|
||||
info.setState(State.LOGIN);
|
||||
} else if (state == TRANSFER_INTENT) {
|
||||
info.setState(State.LOGIN);
|
||||
|
||||
if (serverProtocol < ProtocolVersion.v1_20_5.getVersion()) {
|
||||
wrapper.set(Type.VAR_INT, 1, LOGIN_INTENT);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren