Skip to content
Permalink
Browse files

Fixed an issue with alien species targetting.

  • Loading branch information...
Ri5ux committed Mar 15, 2019
1 parent 5ae9b20 commit 879bf8b51ed8b56817bf94472dac8bce275bd6a7
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/main/java/org/avp/entities/ai/alien/EntitySelectorXenomorph.java
@@ -7,7 +7,6 @@

import com.google.common.base.Predicate;

import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;

@@ -45,7 +44,7 @@ public boolean apply(EntityLivingBase target)
}
}

if (!(target instanceof EntityLiving))
if (!(target instanceof EntityLivingBase))
{
return false;
}

0 comments on commit 879bf8b

Please sign in to comment.
You can’t perform that action at this time.