From 49f6bb06c01418e2f1f5a69995290b197d7a0f8f Mon Sep 17 00:00:00 2001 From: alongstringofnumbers Date: Mon, 8 Jan 2024 18:35:10 -0700 Subject: [PATCH] Specify ordinal --- .../java/gregtech/mixins/ctm/AbstractCTMBakedModelMixin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/gregtech/mixins/ctm/AbstractCTMBakedModelMixin.java b/src/main/java/gregtech/mixins/ctm/AbstractCTMBakedModelMixin.java index 739de1b6acf..d175612e72b 100644 --- a/src/main/java/gregtech/mixins/ctm/AbstractCTMBakedModelMixin.java +++ b/src/main/java/gregtech/mixins/ctm/AbstractCTMBakedModelMixin.java @@ -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 getQuadsWithOptifine(List original, @Local BlockRenderLayer layer, @Local IBlockState state, @Local EnumFacing side, @Local long rand) { return CTMHooks.getQuadsWithOptiFine(original, layer, (IBakedModel) this, state, side, rand);