diff --git a/src/main/java/org/dynmap/DynmapBlockListener.java b/src/main/java/org/dynmap/DynmapBlockListener.java index af334b3b..9af19904 100644 --- a/src/main/java/org/dynmap/DynmapBlockListener.java +++ b/src/main/java/org/dynmap/DynmapBlockListener.java @@ -14,14 +14,13 @@ public class DynmapBlockListener extends BlockListener { } @Override - public void onBlockPlaced(BlockPlaceEvent event) { + public void onBlockPlace(BlockPlaceEvent event) { Block blockPlaced = event.getBlockPlaced(); mgr.touch(blockPlaced.getX(), blockPlaced.getY(), blockPlaced.getZ()); } - - @Override - public void onBlockDamaged(BlockDamageEvent event) { - if (event.getDamageLevel() == BlockDamageLevel.BROKEN) { + + public void onBlockDamage(BlockDamageEvent event) { + if (event.getDamageLevel() == BlockDamageLevel.BROKEN) { Block blockBroken = event.getBlock(); mgr.touch(blockBroken.getX(), blockBroken.getY(), blockBroken.getZ()); }