Skip to content

Commit

Permalink
Specify ordinal
Browse files Browse the repository at this point in the history
  • Loading branch information
ALongStringOfNumbers committed Jan 9, 2024
1 parent 88f1017 commit 49f6bb0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@Mixin(AbstractCTMBakedModel.class)
public class AbstractCTMBakedModelMixin {

@ModifyReturnValue(method = "getQuads", at = @At("RETURN"))
@ModifyReturnValue(method = "getQuads", at = @At(value = "RETURN", ordinal = 1))
private List<BakedQuad> getQuadsWithOptifine(List<BakedQuad> original, @Local BlockRenderLayer layer,
@Local IBlockState state, @Local EnumFacing side, @Local long rand) {
return CTMHooks.getQuadsWithOptiFine(original, layer, (IBakedModel) this, state, side, rand);
Expand Down

0 comments on commit 49f6bb0

Please sign in to comment.