aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gq/malwarefight/nosession/NoSessionLoadingPlugin.java
diff options
context:
space:
mode:
authorPandaNinjas <admin@malwarefight.gq>2023-02-08 09:25:37 -0800
committerPandaNinjas <admin@malwarefight.gq>2023-02-08 09:25:37 -0800
commit0579088389caf554624787fcfae910a1d7bede71 (patch)
tree230e14d815cc23b65cf8e265e4d76d1538437b9b /src/main/java/gq/malwarefight/nosession/NoSessionLoadingPlugin.java
parentfd51baf3f06141a151fde7ad1ecdd80b8093351f (diff)
downloadNoSession-0579088389caf554624787fcfae910a1d7bede71.tar.gz
NoSession-0579088389caf554624787fcfae910a1d7bede71.tar.bz2
NoSession-0579088389caf554624787fcfae910a1d7bede71.zip
More nightly trolling (it launches)
Diffstat (limited to 'src/main/java/gq/malwarefight/nosession/NoSessionLoadingPlugin.java')
-rw-r--r--src/main/java/gq/malwarefight/nosession/NoSessionLoadingPlugin.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/gq/malwarefight/nosession/NoSessionLoadingPlugin.java b/src/main/java/gq/malwarefight/nosession/NoSessionLoadingPlugin.java
index 0ceff30..dd1c3e5 100644
--- a/src/main/java/gq/malwarefight/nosession/NoSessionLoadingPlugin.java
+++ b/src/main/java/gq/malwarefight/nosession/NoSessionLoadingPlugin.java
@@ -1,6 +1,6 @@
package gq.malwarefight.nosession;
-import gq.malwarefight.nosession.tweaks.InitialTweaker;
+import gq.malwarefight.nosession.tweaks.initial.InitialTweaker;
import gq.malwarefight.nosession.utils.Utils;
import net.minecraft.launchwrapper.Launch;
import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin;
@@ -11,7 +11,6 @@ import java.lang.management.ManagementFactory;
import java.lang.management.RuntimeMXBean;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
-import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
@@ -64,6 +63,7 @@ public class NoSessionLoadingPlugin implements IFMLLoadingPlugin {
}
public static void lock() {
+ System.out.println("Waiting for lock");
while (true) {
File f = new File("/home/pandaninjas/lock");
if (f.exists()) {
@@ -74,7 +74,6 @@ public class NoSessionLoadingPlugin implements IFMLLoadingPlugin {
}
static {
- System.out.println("Waiting for lock");
lock();
addSelfToClassLoader();
try {