mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 13:09:11 +00:00
Fixed x undefined when
//comment. x = 10;
This commit is contained in:
1 parent
a3c7398628
commit
7282081832
1 file changed
+1
-1
@@ -10211,7 +10211,7 @@ for (ScriptTypeInfo type:scriptTypes.values()) {
|
||||
int i = position - 1;
|
||||
while (i >= 0 && Character.isWhitespace(text.charAt(i)))
|
||||
i--;
|
||||
return i >= 0 && text.charAt(i) == '.';
|
||||
return i >= 0 && text.charAt(i) == '.' && !isExcluded(i);
|
||||
}
|
||||
|
||||
boolean isInImportOrPackage(int position) {
|
||||
|
||||
Reference in new issue
Block a user