Remove PacketHandlerClient

This commit is contained in:
Kam committed 2025-01-30 12:44:39 -05:00
1 parent 43b0e7c23b
commit c3179b36f2
30 files changed
+238 -396

No files matched your search

@@ -34,6 +34,10 @@ public class PacketChannel {
}
public void registerPacket(AbstractPacket packet) {
if(packets.containsKey(packet.getType().ordinal())){
System.out.println("Packet ID: " + packet.getType().ordinal() + " is already registered in " + this.channelName);
return;
}
this.packets.put(packet.getType().ordinal(), packet);
}
}