mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Fix debug flags
This commit is contained in:
parent
980355851b
commit
8eace74353
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ public final class Debug {
|
|||
|
||||
static {
|
||||
Map<String, String> args = parseArguments(FabricLoader.getInstance().getLaunchArguments(true));
|
||||
DEBUG_SPELLBOOK_CHAPTERS = "true".equalsIgnoreCase(args.getOrDefault("unicopia.debug.spellbookChapters", "false"));
|
||||
DEBUG_COMMANDS = "true".equalsIgnoreCase(args.getOrDefault("unicopia.debug.commands", "false"));
|
||||
DEBUG_SPELLBOOK_CHAPTERS = "true".equalsIgnoreCase(args.getOrDefault("--unicopia.debug.spellbookChapters", "false"));
|
||||
DEBUG_COMMANDS = "true".equalsIgnoreCase(args.getOrDefault("--unicopia.debug.commands", "false"));
|
||||
}
|
||||
|
||||
static Map<String, String> parseArguments(String[] args) {
|
||||
|
|
Loading…
Reference in a new issue