Fix Overlay crash

This commit is contained in:
Kam committed 2025-03-14 19:20:52 -04:00
1 parent c3da8f27dc
commit 258e376516
1 file changed
+3 -1
@@ -319,7 +319,9 @@ public class RenderCNPCPlayer extends RenderPlayer {
// Render the arm
this.modelBipedMain.onGround = 0.0F;
this.modelBipedMain.setRotationAngles(0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F, player);
this.modelBipedMain.bipedRightArm.render(0.0625F);
if(this.modelBipedMain.bipedRightArm != null)
this.modelBipedMain.bipedRightArm.render(0.0625F);
postRenderOverlay();
}