Skip to content

Commit

Permalink
Update MixinItemRenderer.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Aspw-w committed May 3, 2024
1 parent 49791fd commit c42308a
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -775,8 +775,11 @@ public void renderItemInFirstPerson(final float partialTicks) {
}

this.renderItem(abstractclientplayer, this.itemToRender, ItemCameraTransforms.TransformType.FIRST_PERSON);
} else if (!abstractclientplayer.isInvisible())
this.renderPlayerArm(abstractclientplayer, f, f1);
} else if (!abstractclientplayer.isInvisible()) {
if (Animations.cancelEquip.get())
this.renderPlayerArm(abstractclientplayer, 0.0F, f1);
else this.renderPlayerArm(abstractclientplayer, f, f1);
}

GlStateManager.popMatrix();
GlStateManager.disableRescaleNormal();
Expand Down

0 comments on commit c42308a

Please sign in to comment.