mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-12-01 08:47:59 +01:00
17 lines
631 B
Java
17 lines
631 B
Java
|
package com.minelittlepony.unicopia;
|
||
|
|
||
|
import net.fabricmc.loader.api.FabricLoader;
|
||
|
import net.fabricmc.loader.impl.util.Arguments;
|
||
|
|
||
|
public final class Debug {
|
||
|
public static final boolean DEBUG_SPELLBOOK_CHAPTERS;
|
||
|
public static final boolean DEBUG_COMMANDS;
|
||
|
|
||
|
static {
|
||
|
Arguments args = new Arguments();
|
||
|
args.parse(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"));
|
||
|
}
|
||
|
}
|