Skip to content

Commit b2b8ec8

Browse files
committed
remove some debug
1 parent c7b715f commit b2b8ec8

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftDecoder.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ private void tryDecode(ChannelHandlerContext ctx, ByteBuf buf) throws Exception
9090
throw handleDecodeFailure(e, codec, packetId);
9191
}
9292

93-
System.out.println(packet);
94-
9593
if (buf.isReadable()) {
9694
throw handleOverflow(packet, buf.readerIndex(), buf.writerIndex());
9795
}

proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftEncoder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ public MinecraftEncoder(ProtocolUtils.Direction direction) {
5555
@SuppressWarnings("unchecked")
5656
protected void encode(ChannelHandlerContext ctx, MinecraftPacket msg, ByteBuf out) {
5757
PacketCodec<MinecraftPacket> codec = (PacketCodec<MinecraftPacket>) this.registry.getCodec(msg.getClass());
58-
System.out.println(msg);
5958
if (codec == null) {
6059
throw new IllegalArgumentException("No codec found for packet: " + msg.getClass());
6160
}

0 commit comments

Comments
 (0)