Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 00:22:51 +01:00
Allow client intention packet to be cancelled (#4114)
Dieser Commit ist enthalten in:
Ursprung
c6381e7f4d
Commit
b586b0d361
@ -134,7 +134,7 @@ public class InitialBaseProtocol extends AbstractProtocol<BaseClientboundPacket,
|
|||||||
protocols.remove(this);
|
protocols.remove(this);
|
||||||
wrapper.apply(Direction.SERVERBOUND, State.HANDSHAKE, protocols);
|
wrapper.apply(Direction.SERVERBOUND, State.HANDSHAKE, protocols);
|
||||||
} catch (CancelException e) {
|
} catch (CancelException e) {
|
||||||
throw new RuntimeException("Cancelling the client intention packet is not allowed", e);
|
wrapper.cancel();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Via.getManager().isDebug()) {
|
if (Via.getManager().isDebug()) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren