Skip to content

Commit

Permalink
don't commit debug
Browse files Browse the repository at this point in the history
  • Loading branch information
MWHunter committed Sep 5, 2023
1 parent 6ca7863 commit 99b272d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ public void onPacketReceive(PacketReceiveEvent event) {
if ((placedWith.getType().getPlacedType() != null || placedWith.getType() == ItemTypes.FIRE_CHARGE) && !player.compensatedEntities.getSelf().inVehicle())
player.checkManager.onBlockPlace(blockPlace);

if (true || blockPlace.isCancelled() || player.getSetbackTeleportUtil().shouldBlockMovement()) { // The player tried placing blocks in air/water
if (blockPlace.isCancelled() || player.getSetbackTeleportUtil().shouldBlockMovement()) { // The player tried placing blocks in air/water
event.setCancelled(true);
player.onPacketCancel();

Expand Down

0 comments on commit 99b272d

Please sign in to comment.