Fixed CCE with first person gloves
This commit is contained in:
parent
3b4ace6470
commit
26b3a17e58
1 changed files with 19 additions and 16 deletions
|
@ -67,6 +67,8 @@ public class AetherItemRenderer extends ItemRenderer {
|
||||||
|
|
||||||
renderPlayer.renderFirstPersonArm(playerIn);
|
renderPlayer.renderFirstPersonArm(playerIn);
|
||||||
|
|
||||||
|
if (gloves.getItem() instanceof ItemAccessory)
|
||||||
|
{
|
||||||
this.mc.getTextureManager().bindTexture(((ItemAccessory) gloves.getItem()).texture);
|
this.mc.getTextureManager().bindTexture(((ItemAccessory) gloves.getItem()).texture);
|
||||||
|
|
||||||
int colour = gloves.getItem().getColorFromItemStack(gloves, 0);
|
int colour = gloves.getItem().getColorFromItemStack(gloves, 0);
|
||||||
|
@ -87,6 +89,7 @@ public class AetherItemRenderer extends ItemRenderer {
|
||||||
GL11.glDisable(GL11.GL_BLEND);
|
GL11.glDisable(GL11.GL_BLEND);
|
||||||
GL11.glColor3f(1.0F, 1.0F, 1.0F);
|
GL11.glColor3f(1.0F, 1.0F, 1.0F);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void renderItemInFirstPerson(float partialTicks)
|
public void renderItemInFirstPerson(float partialTicks)
|
||||||
|
|
Loading…
Reference in a new issue