mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-12-02 17:08:00 +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 {
|
static {
|
||||||
Map<String, String> args = parseArguments(FabricLoader.getInstance().getLaunchArguments(true));
|
Map<String, String> args = parseArguments(FabricLoader.getInstance().getLaunchArguments(true));
|
||||||
DEBUG_SPELLBOOK_CHAPTERS = "true".equalsIgnoreCase(args.getOrDefault("unicopia.debug.spellbookChapters", "false"));
|
DEBUG_SPELLBOOK_CHAPTERS = "true".equalsIgnoreCase(args.getOrDefault("--unicopia.debug.spellbookChapters", "false"));
|
||||||
DEBUG_COMMANDS = "true".equalsIgnoreCase(args.getOrDefault("unicopia.debug.commands", "false"));
|
DEBUG_COMMANDS = "true".equalsIgnoreCase(args.getOrDefault("--unicopia.debug.commands", "false"));
|
||||||
}
|
}
|
||||||
|
|
||||||
static Map<String, String> parseArguments(String[] args) {
|
static Map<String, String> parseArguments(String[] args) {
|
||||||
|
|
Loading…
Reference in a new issue