diff --git a/src/main/java/com/minelittlepony/model/AbstractPonyModel.java b/src/main/java/com/minelittlepony/model/AbstractPonyModel.java index 38d4239a..48a3acea 100644 --- a/src/main/java/com/minelittlepony/model/AbstractPonyModel.java +++ b/src/main/java/com/minelittlepony/model/AbstractPonyModel.java @@ -2,7 +2,6 @@ package com.minelittlepony.model; import com.minelittlepony.model.armour.ModelPonyArmor; import com.minelittlepony.model.armour.PonyArmor; -import com.minelittlepony.model.capabilities.ICapitated; import com.minelittlepony.model.capabilities.IModel; import com.minelittlepony.model.capabilities.IModelPart; import com.minelittlepony.model.components.PonySnout; @@ -16,7 +15,6 @@ import com.minelittlepony.render.model.PonyRenderer; import com.minelittlepony.util.math.MathUtil; import com.minelittlepony.util.render.AbstractBoxRenderer; -import net.minecraft.client.Minecraft; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelPlayer; import net.minecraft.client.model.ModelRenderer; @@ -816,12 +814,10 @@ public abstract class AbstractPonyModel extends ModelPlayer implements IModel, P @Override public void render(Entity entity, float move, float swing, float ticks, float headYaw, float headPitch, float scale) { - if (!(entity instanceof EntityLivingBase && ((EntityLivingBase)entity).isPlayerSleeping() && entity == Minecraft.getMinecraft().player)) { - pushMatrix(); - transform(BodyPart.HEAD); - renderHead(entity, move, swing, ticks, headYaw, headPitch, scale); - popMatrix(); - } + pushMatrix(); + transform(BodyPart.HEAD); + renderHead(entity, move, swing, ticks, headYaw, headPitch, scale); + popMatrix(); pushMatrix(); transform(BodyPart.NECK);