mirror of
https://github.com/Phoenix616/RandomTeleport.git
synced 2024-11-22 02:25:38 +01:00
Fix parsing of the value of the last parameter
This commit is contained in:
parent
e0f1ed950b
commit
4e845408e3
@ -72,7 +72,7 @@ public class SimpleOptionParser implements OptionParser {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (i + argLength < args.length) {
|
||||
if (i + argLength <= args.length) {
|
||||
return parser.apply(searcher, Arrays.copyOfRange(args, i, i + argLength));
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user