Skip to content

Commit

Permalink
add UNKNOWN branch to BadPacketsP
Browse files Browse the repository at this point in the history
  • Loading branch information
ManInMyVan authored Dec 13, 2024
1 parent a620149 commit 6a1a5f8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public void onPacketReceive(PacketReceiveEvent event) {
case CLONE -> button != 2;
case QUICK_CRAFT -> button == 3 || button == 7 || button > 10 || button < 0;
case PICKUP_ALL -> button != 0;
case UNKNOWN -> false;
};

// Allowing this to false flag to debug and find issues faster
Expand Down

0 comments on commit 6a1a5f8

Please sign in to comment.