diff options
author | Linnea Gräf <nea@nea.moe> | 2024-06-20 02:48:38 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-06-20 02:48:38 +0200 |
commit | 5593488744dc5aa994b5ab2806ed56d7bc627368 (patch) | |
tree | 9d8701474adbd0ce3d51c3f2b92e7ed5724b02a7 /src/main/java/moe/nea/modernjava/launch/live | |
parent | cb08a83e7a0f82f2459da7cb93b8c327b29d9838 (diff) | |
download | ModernJavaLauncher-5593488744dc5aa994b5ab2806ed56d7bc627368.tar.gz ModernJavaLauncher-5593488744dc5aa994b5ab2806ed56d7bc627368.tar.bz2 ModernJavaLauncher-5593488744dc5aa994b5ab2806ed56d7bc627368.zip |
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]; + } } |