Skip to content

Commit

Permalink
don't cancel the tick
Browse files Browse the repository at this point in the history
  • Loading branch information
ManInMyVan committed Oct 16, 2024
1 parent f9aadca commit 0028327
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,7 @@ public void onPacketReceive(PacketReceiveEvent event) {
if (WrapperPlayClientPlayerFlying.isFlying(event.getPacketType())) {
if (sentInteractAt) {
sentInteractAt = false;
if (flagAndAlert("Skipped Interact (Tick)") && shouldModifyPackets()) {
event.setCancelled(true);
player.onPacketCancel();
}
flagAndAlert("Skipped Interact (Tick)");
}
}
}
Expand Down

0 comments on commit 0028327

Please sign in to comment.