Skip to content

Commit

Permalink
Fix a lot of Forge specific renders
Browse files Browse the repository at this point in the history
  • Loading branch information
Asek3 committed Sep 20, 2023
1 parent 4b63cc5 commit 698ebd6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public class MixinBakedQuad implements ModelQuadView {

private int cachedFlags;

@Inject(method = "<init>", at = @At("RETURN"))
private void init(int[] vertexData, int colorIndex, Direction face, Sprite sprite, boolean shade, CallbackInfo ci) {
@Inject(method = "<init>([IILnet/minecraft/util/math/Direction;Lnet/minecraft/client/texture/Sprite;ZZ)V", at = @At("RETURN"))
private void init(int[] vertexData, int colorIndex, Direction face, Sprite sprite, boolean shade, boolean hasAmbientOcclusion, CallbackInfo ci) {
this.cachedFlags = ModelQuadFlags.getQuadFlags((BakedQuad) (Object) this);
}

Expand Down

0 comments on commit 698ebd6

Please sign in to comment.