Skip to content

Commit

Permalink
Update PacketManager.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeusSeinGrossopa authored Feb 5, 2023
1 parent 316e28d commit 9e92045
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public PacketManager(PacketHandler packetHandler) {

registerPacket(new PacketPing());
registerPacket(new PacketPong());
registerPacket(new PacketMessage());
}

public void registerPacket(Packet packet) {
Expand All @@ -41,4 +42,4 @@ public PacketHandler getPacketHandler() {
public void setPacketHandler(PacketHandler packetHandler) {
this.packetHandler = packetHandler;
}
}
}

0 comments on commit 9e92045

Please sign in to comment.