Add debug logging for LANG option loading
This commit is contained in:
parent
dbe4e7786c
commit
f61a2455ea
1 changed files with 6 additions and 0 deletions
|
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue