mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 06:37:34 +00:00
changed some comments
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user