diff --git a/src/main/java/jackyy/exchangers/handler/ExchangerHandler.java b/src/main/java/jackyy/exchangers/handler/ExchangerHandler.java index 84c15e9..fa12045 100644 --- a/src/main/java/jackyy/exchangers/handler/ExchangerHandler.java +++ b/src/main/java/jackyy/exchangers/handler/ExchangerHandler.java @@ -221,7 +221,9 @@ private void placeBlock(ItemStack stack, EntityPlayer player, World world, Block notEnough = true; } } else { + world.restoringBlockSnapshots = true; event.getBlockSnapshot().restore(true); + world.restoringBlockSnapshots = false; ChatHelper.msgPlayer(player, "error.event_cancelled"); } }