mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 16:47:14 -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);
|
end = Math.min(end, tempEnd);
|
||||||
}
|
}
|
||||||
|
//Fallback
|
||||||
|
if(end == -1) end = args.length();
|
||||||
|
|
||||||
//Extract it
|
//Extract it
|
||||||
String parsedSubString = args.substring(start, end);
|
String parsedSubString = args.substring(start, end);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user