Fixed SILLY rendering errors with the Mimic

This commit is contained in:
WayofTime 2016-08-26 17:11:03 -04:00
parent 215b337f71
commit b422e00019
5 changed files with 12 additions and 39 deletions

View file

@ -43,7 +43,7 @@ public class RenderEntityMimic extends RenderLiving<EntityMimic>
super.doRender(mimic, x, y, z, entityYaw, partialTicks);
GlStateManager.pushMatrix();
if (mimic.getItemStack() != null)
if (mimic.getMimicItemStack() != null)
{
GlStateManager.pushMatrix();
@ -55,7 +55,7 @@ public class RenderEntityMimic extends RenderLiving<EntityMimic>
GlStateManager.translate(x, y, z);
ItemStack itemstack = mimic.getItemStack();
ItemStack itemstack = mimic.getMimicItemStack();
Item item = itemstack.getItem();
Minecraft minecraft = Minecraft.getMinecraft();
GlStateManager.pushMatrix();