Change packet decode logging prompt

This commit is contained in:
Shane Freeder
2023-10-10 18:43:59 +01:00
parent 05e5963660
commit 2bd2c692ea

View File

@@ -35,8 +35,8 @@ public class MinecraftDecoder extends ChannelInboundHandlerAdapter {
public static final boolean DEBUG = Boolean.getBoolean("velocity.packet-decode-logging"); public static final boolean DEBUG = Boolean.getBoolean("velocity.packet-decode-logging");
private static final QuietRuntimeException DECODE_FAILED = private static final QuietRuntimeException DECODE_FAILED =
new QuietRuntimeException("A packet did not decode successfully (invalid data). If you are a " new QuietRuntimeException("A packet did not decode successfully (invalid data). For more "
+ "developer, launch Velocity with -Dvelocity.packet-decode-logging=true to see more."); + "information, launch Velocity with -Dvelocity.packet-decode-logging=true to see more.");
private final ProtocolUtils.Direction direction; private final ProtocolUtils.Direction direction;
private StateRegistry state; private StateRegistry state;