diff --git a/Essentials/src/net/ess3/bukkit/events/PlaceBlockExecutor.java b/Essentials/src/net/ess3/bukkit/events/PlaceBlockExecutor.java index 14713afa0..4216da9f3 100644 --- a/Essentials/src/net/ess3/bukkit/events/PlaceBlockExecutor.java +++ b/Essentials/src/net/ess3/bukkit/events/PlaceBlockExecutor.java @@ -26,6 +26,7 @@ public class PlaceBlockExecutor extends BaseEventExecutor org.bukkit.block.Block bukkitBlock = ((BlockPlaceEvent)event).getBlockPlaced(); Block block = BukkitBlockFactory.convert(bukkitBlock); String playername = ((BlockPlaceEvent)event).getPlayer().getName(); - listener.onBlockPlace(block, new UserOnDemand(playername, server)); + boolean success = listener.onBlockPlace(block, new UserOnDemand(playername, server)); + ((BlockPlaceEvent)event).setCancelled(!success); } }