Skip to content

Commit

Permalink
Fix Wraith rendering crash.
Browse files Browse the repository at this point in the history
- Fixes #2
  • Loading branch information
CaliforniaDemise committed Oct 2, 2024
1 parent 573b991 commit f4dfb69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class LayerWraith implements LayerRenderer<EntityTFWraith> {
public void doRenderLayer(@Nonnull EntityTFWraith wraith, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch, float scale) {
RenderTFWraith.this.bindTexture(textureWraith);
GlStateManager.enableBlendProfile(GlStateManager.Profile.TRANSPARENT_MODEL);
RenderTFWraith.this.mainModel.render(wraith, limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scale);
RenderTFWraith.this.getMainModel().render(wraith, limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scale);
GlStateManager.disableBlendProfile(GlStateManager.Profile.TRANSPARENT_MODEL);
}

Expand Down

0 comments on commit f4dfb69

Please sign in to comment.