blob: 5991f72cca4e554cf7153ac8e895d3b423dbff7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package de.hysky.skyblocker.debug;
import net.fabricmc.fabric.api.client.command.v2.ClientCommandRegistrationCallback;
public class Debug {
private static final boolean DEBUG_ENABLED = Boolean.parseBoolean(System.getProperty("skyblocker.debug", "false"));
public static void init() {
if (DEBUG_ENABLED) {
ClientCommandRegistrationCallback.EVENT.register(DumpPlayersCommand::register);
}
}
}
|