hopefully final fix for tnt block

This commit is contained in:
Redecouverte 2011-02-27 18:20:07 +01:00
parent 65c0d77d3e
commit f338650b24

View File

@ -293,7 +293,7 @@ public void onEntityExplode(EntityExplodeEvent event) {
return; return;
} }
if (wcfg.useRegions && event.getEntity() != null) { if (wcfg.useRegions) {
Vector pt = toVector(l); Vector pt = toVector(l);
RegionManager mgr = plugin.getGlobalRegionManager().getRegionManager(wcfg.getWorldName()); RegionManager mgr = plugin.getGlobalRegionManager().getRegionManager(wcfg.getWorldName());