Allow enabling debug flags

This commit is contained in:
mcrcortex
2025-06-23 22:26:53 +10:00
parent 90a6765e8a
commit 883f140b41

View File

@@ -30,9 +30,8 @@ public class VoxyCommon implements ModInitializer {
}
//This is hardcoded like this because people do not understand what they are doing
private static final boolean GlobalVerificationDisableOverride = true;//System.getProperty("voxy.verificationDisableOverride", "false").equals("true");
public static boolean isVerificationFlagOn(String name) {
return (!GlobalVerificationDisableOverride) && System.getProperty("voxy."+name, "true").equals("true");
return System.getProperty("voxy."+name, "false").equals("true");
}
public static void breakpoint() {