Skip to content

Commit

Permalink
fix: add Settings packet to allow list (#287)
Browse files Browse the repository at this point in the history
fix player skin and chunk loading actions get cancelled
  • Loading branch information
nhanledev authored Apr 16, 2024
1 parent 07dc0b8 commit 4d1a465
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ private static class PlayerPacketAdapter extends PacketAdapter {
Client.KEEP_ALIVE, Client.PONG, Client.CUSTOM_PAYLOAD, // Connection packets
Client.CHAT_COMMAND, Client.CLIENT_COMMAND, Client.CHAT, Client.CHAT_SESSION_UPDATE, // Chat / command packets
Client.POSITION, Client.POSITION_LOOK, Client.LOOK, // Movement packets
Client.HELD_ITEM_SLOT, Client.ARM_ANIMATION, Client.TELEPORT_ACCEPT // Animation packets
Client.HELD_ITEM_SLOT, Client.ARM_ANIMATION, Client.TELEPORT_ACCEPT, // Animation packets
Client.SETTINGS // Video setting packets
);

private final BukkitLockedPacketListener listener;
Expand Down

0 comments on commit 4d1a465

Please sign in to comment.