Fixed a bug where virtually all mobs were determined to be Animals on the Forge 1.8 platform

This commit is contained in:
Wyatt Childers 2016-03-05 16:10:03 -05:00
parent 3b176038bf
commit 25c4a56e89

View File

@ -36,6 +36,7 @@
import net.minecraft.entity.item.EntityXPOrb;
import net.minecraft.entity.monster.EntityGolem;
import net.minecraft.entity.passive.EntityAmbientCreature;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.passive.EntityTameable;
import net.minecraft.entity.passive.IAnimals;
import net.minecraft.entity.player.EntityPlayer;
@ -108,7 +109,7 @@ public boolean isLiving() {
@Override
public boolean isAnimal() {
return entity instanceof IAnimals;
return entity instanceof EntityAnimal;
}
@Override