Reformat and clean up "net" package

This commit is contained in:
P0nk
2021-09-09 23:26:02 +02:00
parent 69f4580637
commit 6be6ea9927
235 changed files with 3556 additions and 3398 deletions

View File

@@ -30,7 +30,7 @@ public class CustomPacketHandler implements PacketHandler {
@Override
public void handlePacket(InPacket p, Client c) {
if (p.available() > 0 && c.getGMLevel() == 4) {//w/e
c.sendPacket(PacketCreator.customPacket(p.readBytes((int) p.available())));
c.sendPacket(PacketCreator.customPacket(p.readBytes(p.available())));
}
}