From 28a93624d03d5a242f2991ba651a71c44e2c3e7d Mon Sep 17 00:00:00 2001 From: alpha Date: Sun, 12 Nov 2023 20:58:18 -0600 Subject: [PATCH] Disable broken mantle mixins --- src/main/java/slimeknights/tconstruct/StarSodiumFixer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/slimeknights/tconstruct/StarSodiumFixer.java b/src/main/java/slimeknights/tconstruct/StarSodiumFixer.java index 514d4cfb61e..c83470d024c 100644 --- a/src/main/java/slimeknights/tconstruct/StarSodiumFixer.java +++ b/src/main/java/slimeknights/tconstruct/StarSodiumFixer.java @@ -20,6 +20,8 @@ public class StarSodiumFixer implements MixinCanceller { @Override public boolean shouldCancel(List targetClassNames, String mixinClassName) { + if (mixinClassName.equals("slimeknights.mantle.mixin.client.FluidStorageMixin") || mixinClassName.equals("slimeknights.mantle.mixin.client.ItemStorageMixin") || mixinClassName.equals("slimeknights.mantle.mixin.common.TransactionManagerImplMixin")) + return true; if (mixinClassName.startsWith("me.alphamode.star.mixin.sodium") || mixinClassName.startsWith("me.alphamode.star.mixin.indium")) return FabricLoader.getInstance().getModContainer("sodium").map(modContainer -> modContainer.getMetadata().getVersion().compareTo(SODIUM_VERSION) < 0).orElse(false); return false;