9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2025-12-29 11:39:14 +00:00

Encapsulate Settings, tweak keys, add empty dead player save option, close #73

This commit is contained in:
William
2023-03-10 21:17:15 +00:00
parent 5a000add98
commit a9b1070725
12 changed files with 275 additions and 118 deletions

View File

@@ -126,7 +126,7 @@ public interface HuskSync {
* @param throwable a throwable to log
*/
default void debug(@NotNull String message, @NotNull Throwable... throwable) {
if (getSettings().debugLogging) {
if (getSettings().doDebugLogging()) {
log(Level.INFO, "[DEBUG] " + message, throwable);
}
}