Skip to content

Commit

Permalink
[CORE] Add Debug when you run /ase reload
Browse files Browse the repository at this point in the history
Signed-off-by: Wolfieheart <[email protected]>
  • Loading branch information
Wolfieheart committed Dec 31, 2024
1 parent cbb1bff commit c12421e
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,14 @@ public void performReload() {
opUpdateNotification = getConfig().getBoolean("opUpdateNotification", true);
updateCheckerInterval = getConfig().getDouble("updateCheckerInterval", 24);


// Add Debug Reload
debugFlag = getConfig().getBoolean("debugFlag", false);
if (debugFlag) {
getServer().getLogger().log(Level.INFO, "[ArmorStandEditor-Debug] ArmorStandEditor Debug Mode is now ENABLED! Use this ONLY for testing Purposes. If you can see this and you have debug disabled, please report it as a bug!");
}


//Run UpdateChecker - Reports out to Console on Startup ONLY!
if (!hasFolia && runTheUpdateChecker) {

Expand Down

0 comments on commit c12421e

Please sign in to comment.