Skip to content

Commit

Permalink
Temporarily comment out system.out.println
Browse files Browse the repository at this point in the history
  • Loading branch information
Axionize committed Aug 25, 2024
1 parent bc239a7 commit f78c80f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ public void onBlockPlace(final BlockPlace place) {
}

if (flagBuffer > 0 && !didRayTraceHit(place)) {
System.out.println("Flagged previously and currently");
// System.out.println("Flagged previously and currently");
// If the player hit and has flagged this check recently
if (flagAndAlert("pre-flying") && shouldModifyPackets() && shouldCancel()) {
System.out.println("Canceling block at " + place.getPlacedBlockPos().getX() + " " + place.getPlacedBlockPos().getY() + " " + place.getPlacedBlockPos().getZ());
// System.out.println("Canceling block at " + place.getPlacedBlockPos().getX() + " " + place.getPlacedBlockPos().getY() + " " + place.getPlacedBlockPos().getZ());
place.resync(); // Deny the block placement.
}
}
Expand Down Expand Up @@ -78,7 +78,7 @@ public void onPostFlyingBlockPlace(BlockPlace place) {
if (!hit) {
flagBuffer = 1;
flagAndAlert("post-flying");
System.out.println("Cheater detected in post, failed check for placing block at " + place.getPlacedBlockPos().getX() + " " + place.getPlacedBlockPos().getY() + " " + place.getPlacedBlockPos().getZ());
// System.out.println("Cheater detected in post, failed check for placing block at " + place.getPlacedBlockPos().getX() + " " + place.getPlacedBlockPos().getY() + " " + place.getPlacedBlockPos().getZ());
} else {
flagBuffer = Math.max(0, flagBuffer - 0.1);
}
Expand Down

0 comments on commit f78c80f

Please sign in to comment.