Fix obviously nonsensical code

This commit is contained in:
Johannes Frohnmeyer 2022-07-24 16:22:55 +02:00
parent 5e729ef5d8
commit ec037375a0
Signed by: Johannes
GPG Key ID: E76429612C2929F4
2 changed files with 2 additions and 3 deletions

View File

@ -16,7 +16,6 @@ import io.gitlab.jfronny.inceptum.util.api.McApi;
import java.io.IOException;
import java.nio.file.Files;
import java.sql.Wrapper;
import java.util.Scanner;
import java.util.function.Consumer;
@ -24,7 +23,7 @@ public class Inceptum {
public static boolean IS_GUI;
public static void main(String[] args) throws Exception {
if (Wrapper.class.getClassLoader() != Inceptum.class.getClassLoader()) {
if (Utils.class.getClassLoader() != Inceptum.class.getClassLoader()) {
throw new IllegalStateException("Mismatching classloader between two classes. Something is wrong here");
}

@ -1 +1 @@
Subproject commit b9c62f0945e29c14112a1bcd562e005bb0d80ecf
Subproject commit 336e431c44a10036a24a5d4960789e1eedad6c27