diff options
Diffstat (limited to 'src/main/java/moe/nea/modernjava/launch/live')
-rw-r--r-- | src/main/java/moe/nea/modernjava/launch/live/FCPFixTweaker.java | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/main/java/moe/nea/modernjava/launch/live/FCPFixTweaker.java b/src/main/java/moe/nea/modernjava/launch/live/FCPFixTweaker.java index 0fe2285..826e765 100644 --- a/src/main/java/moe/nea/modernjava/launch/live/FCPFixTweaker.java +++ b/src/main/java/moe/nea/modernjava/launch/live/FCPFixTweaker.java @@ -1,6 +1,6 @@ package moe.nea.modernjava.launch.live; -import moe.nea.modernjava.launch.transform.TransObjectHolderRef; +import moe.nea.modernjava.launch.transform.PatchObjectHolderRef; import net.minecraft.launchwrapper.ITweaker; import net.minecraft.launchwrapper.LaunchClassLoader; @@ -8,27 +8,27 @@ import java.io.File; import java.util.List; /** - * Tweaker class to inject {@link TransObjectHolderRef} + * Tweaker class to inject {@link PatchObjectHolderRef} */ public class FCPFixTweaker implements ITweaker { - @Override - public void acceptOptions(List<String> args, File gameDir, File assetsDir, String profile) { - } + @Override + public void acceptOptions(List<String> args, File gameDir, File assetsDir, String profile) { + } - @Override - public void injectIntoClassLoader(LaunchClassLoader classLoader) { - classLoader.addClassLoaderExclusion("moe.nea.modernjava."); - classLoader.addClassLoaderExclusion("kotlin."); - classLoader.registerTransformer("moe.nea.modernjava.launch.transform.TransObjectHolderRef"); - } + @Override + public void injectIntoClassLoader(LaunchClassLoader classLoader) { + classLoader.addClassLoaderExclusion("moe.nea.modernjava."); + classLoader.addClassLoaderExclusion("kotlin."); + classLoader.registerTransformer("moe.nea.modernjava.launch.transform.PatchObjectHolderRef"); + } - @Override - public String getLaunchTarget() { - return null; - } + @Override + public String getLaunchTarget() { + return null; + } - @Override - public String[] getLaunchArguments() { - return new String[0]; - } + @Override + public String[] getLaunchArguments() { + return new String[0]; + } } |