mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 04:17:36 +00:00
Old GuiScriptTextArea
This commit is contained in:
1 parent
51993c3efc
commit
b1799b5a22
2 files changed
+2187
-1
No files matched your search
File diff suppressed because it is too large.
Load diff
+1
-1
@@ -121,7 +121,7 @@ public class ScriptTextContainer extends JavaTextContainer {
|
||||
/**
|
||||
* Convert new interpreter TokenType to legacy JavaTextContainer.TokenType format.
|
||||
*/
|
||||
private JavaTextContainer.TokenType toLegacyTokenType(TokenType type) {
|
||||
private JavaTextContainer.TokenType toLegacyTokenType(noppes.npcs.client.gui.util.script.interpreter.TokenType type) {
|
||||
if (type == noppes.npcs.client.gui.util.script.interpreter.TokenType.COMMENT) return JavaTextContainer.TokenType.COMMENT;
|
||||
if (type == noppes.npcs.client.gui.util.script.interpreter.TokenType.STRING) return JavaTextContainer.TokenType.STRING;
|
||||
if (type == noppes.npcs.client.gui.util.script.interpreter.TokenType.CLASS_KEYWORD) return JavaTextContainer.TokenType.CLASS_KEYWORD;
|
||||
|
||||
Reference in new issue
Block a user