Skip to content

Commit

Permalink
Shouldn't need this now with the other fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchej123 committed Aug 22, 2024
1 parent 0b27364 commit aff9a14
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

import com.gtnewhorizon.gtnhlib.core.transformer.TessellatorRedirectorTransformer;

import cpw.mods.fml.common.Loader;
import cpw.mods.fml.relauncher.FMLLaunchHandler;

public class MixinCompatHackTweaker implements ITweaker {
Expand All @@ -35,7 +34,7 @@ public String[] getLaunchArguments() {
final boolean rfbLoaded = Launch.blackboard.getOrDefault("gtnhlib.rfbPluginLoaded", Boolean.FALSE)
== Boolean.TRUE;

if (!rfbLoaded && !(Loader.isModLoaded("Optifine") || Loader.isModLoaded("FastCraft"))) {
if (!rfbLoaded) {
// Run after Mixins, but before LWJGl3ify
Launch.classLoader.registerTransformer(TessellatorRedirectorTransformer.class.getName());
}
Expand Down

0 comments on commit aff9a14

Please sign in to comment.