aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2024-09-23 23:30:53 +1000
committerGitHub <noreply@github.com>2024-09-23 15:30:53 +0200
commitc24b433a0cfeb662d5ccaf63ff7e4f6a06f9be4a (patch)
tree53663353672f3953dbd89d2a91bf45e5c6ce4407 /src/main
parent0270958534cb279d5cb0d19867eb81c1b8e8161c (diff)
downloadskyhanni-c24b433a0cfeb662d5ccaf63ff7e4f6a06f9be4a.tar.gz
skyhanni-c24b433a0cfeb662d5ccaf63ff7e4f6a06f9be4a.tar.bz2
skyhanni-c24b433a0cfeb662d5ccaf63ff7e4f6a06f9be4a.zip
Fix: Mining Commissions Blocks Color connected textures v2 (#2577)
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/mixins/transformers/MixinOptifineConnectedTextures.java4
1 files changed, 2 insertions, 2 deletions
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);
}
}