mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-12-23 00:47:39 +01:00
Allow client intention packet to be cancelled (#4114)
This commit is contained in:
parent
c6381e7f4d
commit
b586b0d361
@ -134,7 +134,7 @@ public class InitialBaseProtocol extends AbstractProtocol<BaseClientboundPacket,
|
||||
protocols.remove(this);
|
||||
wrapper.apply(Direction.SERVERBOUND, State.HANDSHAKE, protocols);
|
||||
} catch (CancelException e) {
|
||||
throw new RuntimeException("Cancelling the client intention packet is not allowed", e);
|
||||
wrapper.cancel();
|
||||
}
|
||||
|
||||
if (Via.getManager().isDebug()) {
|
||||
|
Loading…
Reference in New Issue
Block a user