Skip to content

Commit

Permalink
Fix crash with Mekanism flamethrowers (#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
Camotoy authored Feb 3, 2025
1 parent a0b9d31 commit 3f70af2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class LightningHandler extends RenderType {
.setTextureState(new RenderStateShard.TextureStateShard(resourceLocation, false, false))
.setTransparencyState(TRANSLUCENT_TRANSPARENCY)
.createCompositeState(true);
return create("mek_flame", DefaultVertexFormat.POSITION_TEX_COLOR, VertexFormat.Mode.QUADS, 256, true, false, state);
return create("mek_flame", DefaultVertexFormat.POSITION_COLOR_TEX, VertexFormat.Mode.QUADS, 256, true, false, state);
});

public static final RenderType MEKASUIT = create("mekasuit", DefaultVertexFormat.NEW_ENTITY, VertexFormat.Mode.QUADS, 131_072, true, false,
Expand Down

0 comments on commit 3f70af2

Please sign in to comment.