mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-12-26 19:08:11 +01:00
Explosion protection now works
This commit is contained in:
parent
2e592c070b
commit
f0c4988f29
@ -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--;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user