aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/modernjava/launch/live
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-06-20 02:48:38 +0200
committerLinnea Gräf <nea@nea.moe>2024-06-20 02:48:38 +0200
commit5593488744dc5aa994b5ab2806ed56d7bc627368 (patch)
tree9d8701474adbd0ce3d51c3f2b92e7ed5724b02a7 /src/main/java/moe/nea/modernjava/launch/live
parentcb08a83e7a0f82f2459da7cb93b8c327b29d9838 (diff)
downloadModernJavaLauncher-master.tar.gz
ModernJavaLauncher-master.tar.bz2
ModernJavaLauncher-master.zip
Modernize some stuff idkHEADmaster
Diffstat (limited to 'src/main/java/moe/nea/modernjava/launch/live')
-rw-r--r--src/main/java/moe/nea/modernjava/launch/live/FCPFixTweaker.java38
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];
+ }
}