mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 18:57:32 +00:00
Added DataScript global definitions i.e. npc, world, event to syntax highlighter as global vars
This commit is contained in:
1 parent
df0d46e63d
commit
aae2fdb23a
5 files changed
+155
-24
No files matched your search
@@ -2652,6 +2652,10 @@ public class GuiScriptTextArea extends GuiNpcTextField {
|
||||
return this.container != null ? this.container.getScriptContext() : ScriptContext.GLOBAL;
|
||||
}
|
||||
|
||||
public ScriptTextContainer getContainer() {
|
||||
return this.container;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add implicit imports that should be resolved without explicit import statements.
|
||||
* Used for JaninoScript default imports and hook parameter types.
|
||||
|
||||
Reference in new issue
Block a user