Skip to content

Commit 3a80435

Browse files
committed
Fix client crashing
1 parent 6857eb9 commit 3a80435

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/dev/frydae/emcutils/EmpireMinecraftUtilities.java

+4
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ public static void onPostJoinEmpireMinecraft() {
8383
}
8484

8585
public static boolean isTestMode() {
86+
if (System.getProperty("testMode") == null) {
87+
return false;
88+
}
89+
8690
return System.getProperty("testMode").equals("true");
8791
}
8892
}

0 commit comments

Comments
 (0)