From d8054775d5cb28db9bfe2f92512d2deb985a5c74 Mon Sep 17 00:00:00 2001 From: s0127943 Date: Sun, 7 Feb 2021 01:03:53 +0100 Subject: [PATCH] Removed unnecessary blocksnapshot.restore --- .../content/curiosities/zapper/blockzapper/BlockzapperItem.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/content/curiosities/zapper/blockzapper/BlockzapperItem.java b/src/main/java/com/simibubi/create/content/curiosities/zapper/blockzapper/BlockzapperItem.java index c4f6d1d07..416a7c597 100644 --- a/src/main/java/com/simibubi/create/content/curiosities/zapper/blockzapper/BlockzapperItem.java +++ b/src/main/java/com/simibubi/create/content/curiosities/zapper/blockzapper/BlockzapperItem.java @@ -300,7 +300,6 @@ public class BlockzapperItem extends ZapperItem { public static boolean isAllowedToPlace(World world, BlockPos pos,PlayerEntity player){ BlockSnapshot blocksnapshot = BlockSnapshot.getBlockSnapshot(world, pos); if (ForgeEventFactory.onBlockPlace(player, blocksnapshot, Direction.UP)) { - blocksnapshot.restore(true, false); return false; } return true;