From 2c36c99bba3342bc32400f60d0e110a1452e8a7b Mon Sep 17 00:00:00 2001 From: Sollace Date: Mon, 29 Oct 2018 15:16:42 +0200 Subject: [PATCH] Revert "We are the pony now" This reverts commit c6275cf98b3b433b1f49b9ae37d06514ae2b60da. --- .../com/minelittlepony/model/AbstractPonyModel.java | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) 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);