Allow enabling debug flags
This commit is contained in:
@@ -30,9 +30,8 @@ public class VoxyCommon implements ModInitializer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//This is hardcoded like this because people do not understand what they are doing
|
//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) {
|
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() {
|
public static void breakpoint() {
|
||||||
|
|||||||
Reference in New Issue
Block a user