mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2026-09-10 18:46:30 -06:00
Fix [Parser]: handle fallback for the last arg
This commit is contained in:
parent
9f8e066c93
commit
66c3aecd26
1 changed files with 2 additions and 0 deletions
|
|
@ -452,6 +452,8 @@ public class JREUtils {
|
|||
}
|
||||
end = Math.min(end, tempEnd);
|
||||
}
|
||||
//Fallback
|
||||
if(end == -1) end = args.length();
|
||||
|
||||
//Extract it
|
||||
String parsedSubString = args.substring(start, end);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue