style: cleanup debug statements

This commit is contained in:
aro 2023-01-22 21:15:57 +01:00
parent c7d6c57320
commit 3dfb6517a1

View file

@ -16,9 +16,7 @@ public class PluginMessageHandler implements PluginMessageListener {
return;
}
System.out.println("Received " + NickoBungee.NICKO_PLUGIN_CHANNEL_UPDATE + " msg");
final ByteArrayDataInput in = ByteStreams.newDataInput(message);
final int payloadSize = in.readInt();
if (payloadSize == 0 || payloadSize > 4) {
NickoBukkit.getInstance().getLogger().severe("Prevented error by skipping malformed payload of size " + payloadSize + "!" +