Skip to content

Commit

Permalink
Fix issues with re-entrant from ItemTransformer
Browse files Browse the repository at this point in the history
  • Loading branch information
Wyvest committed Jun 21, 2024
1 parent 93f890b commit 1b033bb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import net.minecraft.launchwrapper.LaunchClassLoader;
import net.minecraftforge.fml.relauncher.CoreModManager;
import org.spongepowered.asm.launch.MixinBootstrap;
import org.spongepowered.asm.mixin.MixinEnvironment;
import org.spongepowered.asm.mixin.Mixins;

import java.io.File;
Expand Down Expand Up @@ -72,6 +73,8 @@ public OneConfigTweaker() {
t.printStackTrace();
}
}

MixinEnvironment.getDefaultEnvironment().addTransformerExclusion("com.creativemd.itemphysic.ItemTransformer");
}

@SuppressWarnings("unchecked")
Expand Down

0 comments on commit 1b033bb

Please sign in to comment.