Fancier debug/help

This commit is contained in:
mbax
2021-01-02 17:18:10 -05:00
parent 92e87abc3c
commit 3696d4eb94
7 changed files with 240 additions and 36 deletions
@@ -370,6 +370,7 @@ public class VaultManager {
try {
yaml.save(file);
} catch (IOException e) {
PlayerVaults.getInstance().addException(new IllegalStateException("Failed to save vault file for: " + holder, e));
PlayerVaults.getInstance().getLogger().log(Level.SEVERE, "Failed to save vault file for: " + holder, e);
}
PlayerVaults.debug("Saved vault for " + holder);