From ebfe2a004bc091195fa9ae6d25a6b87827af861c Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Mon, 12 Sep 2011 10:28:36 +0800 Subject: [PATCH] Add bukkit bug workaround (http://leaky.bukkit.org/issues/1227) - piston exceptions --- src/main/java/org/dynmap/DynmapPlugin.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/org/dynmap/DynmapPlugin.java b/src/main/java/org/dynmap/DynmapPlugin.java index 4bdb17ec..6e005452 100644 --- a/src/main/java/org/dynmap/DynmapPlugin.java +++ b/src/main/java/org/dynmap/DynmapPlugin.java @@ -498,9 +498,6 @@ public class DynmapPlugin extends JavaPlugin { if(event.isCancelled()) return; Block b = event.getBlock(); - /* Avoid bogus piston events from Bukkit */ - if((b.getType() != Material.PISTON_BASE) && (b.getType() != Material.PISTON_STICKY_BASE)) - return; Location loc = b.getLocation(); mapManager.sscache.invalidateSnapshot(loc); BlockFace dir;