Add debug logging for LANG option loading

This commit is contained in:
loki 2026-04-09 12:38:36 +02:00
parent dbe4e7786c
commit f61a2455ea

View file

@ -263,6 +263,12 @@ public class Option {
if (Config.CONFIG.isPath(parent + ".default")) { if (Config.CONFIG.isPath(parent + ".default")) {
Object value = Config.CONFIG.get(parent + ".default"); Object value = Config.CONFIG.get(parent + ".default");
// Debug logging for LANG option
if (option == ParkourOption.LANG) {
LoParkour.getPlugin().getLogger().info("LANG option: path=" + parent + ".default, value=" + value + ", type=" + (value != null ? value.getClass().getSimpleName() : "null"));
}
if (value != null) OPTIONS_DEFAULTS.put(option, String.valueOf(value)); if (value != null) OPTIONS_DEFAULTS.put(option, String.valueOf(value));
} }
} }