Fixed creeper explosion block with WorldGuard.

This commit is contained in:
sk89q 2011-01-30 01:16:16 -08:00
parent 428fc7e5f6
commit dd93772233

View File

@ -216,12 +216,6 @@ public void onEntityExplode(EntityExplodeEvent event) {
return;
}
if (!plugin.regionManager.getApplicableRegions(BukkitUtil.toVector(event.getEntity().getLocation()))
.allowsFlag(AreaFlags.FLAG_CREEPER_EXPLOSION)) {
event.setCancelled(true);
return;
}
if (plugin.useRegions) {
Vector pt = toVector(event.getEntity().getLocation());