Skip to content

Commit

Permalink
Add log message to signal beginning of a script load
Browse files Browse the repository at this point in the history
  • Loading branch information
magicmq committed Mar 27, 2024
1 parent c647c00 commit 24fd204
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ public RunResult loadScript(Script script) throws IOException {
return RunResult.FAIL_DEPENDENCY;
}

if (PluginConfig.doScriptActionLogging())
PySpigot.get().getLogger().log(Level.INFO, "Loading script '" + script.getName() + "'");

scripts.put(script.getName(), script);

script.prepare();
Expand Down

0 comments on commit 24fd204

Please sign in to comment.