Add bukkit bug workaround (http://leaky.bukkit.org/issues/1227) - piston exceptions
This commit is contained in:
parent
3076b28c24
commit
ebfe2a004b
1 changed files with 0 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue