mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 19:25:15 +01:00
Add bukkit bug workaround (http://leaky.bukkit.org/issues/1227) - piston exceptions
This commit is contained in:
parent
3076b28c24
commit
ebfe2a004b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user