diff --git a/src/com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java b/src/com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java index ec756fd4..cbcc28a4 100644 --- a/src/com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java +++ b/src/com/sk89q/worldguard/bukkit/WorldGuardBlockListener.java @@ -426,9 +426,9 @@ public void onBlockRightClick(BlockRightClickEvent event) { * @param event Relevant event details */ @Override - public void onBlockRedstoneChange(BlockFromToEvent event) { + public void onBlockRedstoneChange(BlockRedstoneEvent event) { World world = event.getBlock().getWorld(); - Block blockTo = event.getToBlock(); + Block blockTo = event.getBlock(); if (plugin.simulateSponge && plugin.redstoneSponges) { int ox = blockTo.getX();