diff --git a/src/main/java/com/viaversion/fabric/common/handler/FabricDecodeHandler.java b/src/main/java/com/viaversion/fabric/common/handler/FabricDecodeHandler.java index f00cf00..9e60ba7 100644 --- a/src/main/java/com/viaversion/fabric/common/handler/FabricDecodeHandler.java +++ b/src/main/java/com/viaversion/fabric/common/handler/FabricDecodeHandler.java @@ -66,9 +66,9 @@ public class FabricDecodeHandler extends MessageToMessageDecoder { if (PipelineUtil.containsCause(cause, CancelCodecException.class)) return; super.exceptionCaught(ctx, cause); - if (PipelineUtil.containsCause(cause, InformativeException.class) - && (info.getProtocolInfo().getState() != State.HANDSHAKE - || Via.getManager().debugHandler().enabled())) { + if ((PipelineUtil.containsCause(cause, InformativeException.class) + && info.getProtocolInfo().getState() != State.HANDSHAKE) + || Via.getManager().debugHandler().enabled()) { cause.printStackTrace(); } }