From c24b433a0cfeb662d5ccaf63ff7e4f6a06f9be4a Mon Sep 17 00:00:00 2001 From: NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> Date: Mon, 23 Sep 2024 23:30:53 +1000 Subject: Fix: Mining Commissions Blocks Color connected textures v2 (#2577) --- .../skyhanni/mixins/transformers/MixinOptifineConnectedTextures.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at') diff --git a/src/main/java/at/hannibal2/skyhanni/mixins/transformers/MixinOptifineConnectedTextures.java b/src/main/java/at/hannibal2/skyhanni/mixins/transformers/MixinOptifineConnectedTextures.java index 9f3087e8e..47ebe4ea6 100644 --- a/src/main/java/at/hannibal2/skyhanni/mixins/transformers/MixinOptifineConnectedTextures.java +++ b/src/main/java/at/hannibal2/skyhanni/mixins/transformers/MixinOptifineConnectedTextures.java @@ -16,8 +16,8 @@ public class MixinOptifineConnectedTextures { return OptifineConnectedTexturesHookKt.modifyConnectedTexturesBlockState(state); } - @ModifyArg(method = "getConnectedTexture", at = @At(value = "INVOKE", target = "skipConnectedTexture")) - private static IBlockState modifySkipConnectedTexture(IBlockState state) { + @ModifyArg(method = "isNeighbour", at = @At(value = "INVOKE", target = "isNeighbour"), index = 4) + private static IBlockState modifyIsNeighbour(IBlockState state) { return OptifineConnectedTexturesHookKt.modifyConnectedTexturesBlockState(state); } } -- cgit