mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 08:05:34 -04:00
Fix [Parser]: handle fallback for the last arg
This commit is contained in:
parent
9f8e066c93
commit
66c3aecd26
@ -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…
x
Reference in New Issue
Block a user