From e1cfe8aa689af9402788e080870445b16f4ab354 Mon Sep 17 00:00:00 2001 From: Sollace Date: Mon, 27 Aug 2018 15:37:52 +0200 Subject: [PATCH] Unused variable --- .../java/com/minelittlepony/hdskins/gui/RenderPonyModel.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/com/minelittlepony/hdskins/gui/RenderPonyModel.java b/src/main/java/com/minelittlepony/hdskins/gui/RenderPonyModel.java index 4340f9b0..08fcbe10 100644 --- a/src/main/java/com/minelittlepony/hdskins/gui/RenderPonyModel.java +++ b/src/main/java/com/minelittlepony/hdskins/gui/RenderPonyModel.java @@ -42,10 +42,7 @@ public class RenderPonyModel extends RenderPlayerModel implemen @Override public Pony getEntityPony(EntityPonyModel entity) { - boolean slim = entity.usesThinSkin(); - ResourceLocation loc = getEntityTexture(entity); - - return MineLittlePony.getInstance().getManager().getPony(loc); + return MineLittlePony.getInstance().getManager().getPony(getEntityTexture(entity)); } @Override