The Tangleberrie and Jyullia now ignore bosses, soz.

This commit is contained in:
Lizbeth Rika committed 2014-08-05 22:33:00 +01:00
1 parent 99f1cf2534
commit e7de2b0ff3
1 file changed
+2 -1
@@ -14,6 +14,7 @@ package vazkii.botania.common.block.subtile.functional;
import java.util.List;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.boss.IBossDisplayData;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.AxisAlignedBB;
import vazkii.botania.api.lexicon.LexiconEntry;
@@ -41,7 +42,7 @@ public class SubTileTangleberrie extends SubTileFunctional {
List<EntityLivingBase> entities = supertile.getWorldObj().getEntitiesWithinAABB(EntityLivingBase.class, boundingBox);
for(EntityLivingBase entity : entities) {
if(entity instanceof EntityPlayer)
if(entity instanceof EntityPlayer || entity instanceof IBossDisplayData)
continue;
double x2 = entity.posX;