Skip to content

Commit b0ecdb1

Browse files
committed
Yeet anti piracy. (Closes #34)
1 parent a46dea9 commit b0ecdb1

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

loader/src/main/java/com/fox2code/foxloader/loader/ModLoader.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,6 @@ public static void postInitializeMods() {
269269
throw new IllegalStateException();
270270
postInitializeModsTrigger = true;
271271
ModLoader.postInitializeMods();
272-
if (ModLoaderInit.isClientDevModeImpl && // Fix error: [1D-10T]
273-
!(FoxLauncher.DEV_MODE || FoxLauncher.DEVELOPING_FOXLOADER)) {
274-
Minecraft.theMinecraft = null;
275-
}
276272
}
277273

278274
public static void debugMarker() {

loader/src/main/java/com/fox2code/foxloader/loader/ModLoaderInit.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ public final class ModLoaderInit {
7373
private static final Collection<ModContainer> modContainnersCollection =
7474
Collections.unmodifiableCollection(modContainers.values());
7575
private static boolean inPreBootup = true;
76-
static boolean isClientDevModeImpl = true;
7776

7877
static {
7978
((LoadingPlugin) JavaLoadingPlugin.JAVA_LOADING_PLUGIN).javaModInfo = JavaModInfo.FOX_LOADER_MOD_INFO;
@@ -120,7 +119,6 @@ public static void launchModdedClient(String[] args) throws Exception {
120119
throw new IllegalStateException("Cannot start FoxLoader in testing mode!");
121120
}
122121
getModLoaderLogger().info("Launching FoxLoader " + BuildConfig.FOXLOADER_VERSION + " client");
123-
isClientDevModeImpl = args.length < 2 || args[1].length() < 2;
124122
commonPreInitialize(true);
125123
try {
126124
Minecraft.main(args);

0 commit comments

Comments
 (0)