Fix for infinite exploding TNT near warzone edges.

This commit is contained in:
cmastudios 2013-10-16 19:43:23 -05:00
parent 7621bdd321
commit dd6f425368

View File

@ -306,6 +306,9 @@ public class WarEntityListener implements Listener {
}
for (Block block : explodedBlocks) {
if (block.getType() == Material.TNT) {
continue; // don't restore TNT (failed to track down regression cause)
}
if (War.war.getWarHub() != null && War.war.getWarHub().getVolume().contains(block)) {
dontExplode.add(block);
} else {