mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 16:54:06 +00:00
Made the Fallen Kanade not work in the end to prevent cheesing the Ender Dragon.
This commit is contained in:
1 parent
93bd1823a5
commit
89e17bcb0a
1 file changed
+1
-1
+1
-1
@@ -30,7 +30,7 @@ public class SubTileFallenKanade extends SubTileFunctional {
|
||||
final int range = 2;
|
||||
final int cost = 120;
|
||||
|
||||
if(!supertile.getWorldObj().isRemote) {
|
||||
if(!supertile.getWorldObj().isRemote && supertile.getWorldObj().provider.dimensionId != 1) {
|
||||
List<EntityPlayer> players = supertile.getWorldObj().getEntitiesWithinAABB(EntityPlayer.class, AxisAlignedBB.getBoundingBox(supertile.xCoord - range, supertile.yCoord - range, supertile.zCoord - range, supertile.xCoord + range + 1, supertile.yCoord + range + 1, supertile.zCoord + range + 1));
|
||||
for(EntityPlayer player : players) {
|
||||
if(player.getActivePotionEffect(Potion.regeneration) == null && mana >= cost) {
|
||||
|
||||
Reference in new issue
Block a user