changed some comments

This commit is contained in:
luisc committed 2025-06-11 17:37:17 -05:00
1 parent 7044d8ed63
commit 70f146cb27
1 file changed
+5 -2
@@ -91,15 +91,18 @@ public class ScriptContainer {
private String getFullCode() {
if (!this.evaluated) {
// build includes first
// build includes first depending on config setting
StringBuilder sb = new StringBuilder();
if (ConfigScript.RunLoadedScriptsFirst) {
this.appendExternalScripts(sb);
}
// then your per‐hook script
// then your per‐hook main script
if (this.script != null && !this.script.isEmpty()) {
sb.append(this.script).append("\n");
}
// build includes last if not built first
if (!ConfigScript.RunLoadedScriptsFirst) {
this.appendExternalScripts(sb);
}