mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 20:07:32 +00:00
Fixed findReceiverExpr breaking when contains strings
This commit is contained in:
1 parent
a5c02e6c94
commit
71050da341
1 file changed
+6
-1
+6
-1
@@ -686,7 +686,12 @@ public class AutocompleteManager {
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
break;
|
||||
// Within parentheses or brackets, allow any character (commas, operators, etc.)
|
||||
if (parenDepth > 0 || bracketDepth > 0) {
|
||||
start--;
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user