Explosion protection now works

This commit is contained in:
sekwah41 2013-12-15 22:42:19 +00:00
parent 2e592c070b
commit f0c4988f29

View File

@ -104,6 +104,7 @@ public class PortalProtect implements Listener {
if((Portal.pos2[portalId].getX() - PortalProtectionRadius) <= block.getX() && (Portal.pos2[portalId].getY() - PortalProtectionRadius) <= block.getY() && (Portal.pos2[portalId].getZ() - PortalProtectionRadius) <= block.getZ()){ if((Portal.pos2[portalId].getX() - PortalProtectionRadius) <= block.getX() && (Portal.pos2[portalId].getY() - PortalProtectionRadius) <= block.getY() && (Portal.pos2[portalId].getZ() - PortalProtectionRadius) <= block.getZ()){
blockList.remove(i); blockList.remove(i);
i--;
} }
} }