mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Fix IllegalArgumentException: 1 > 0
This commit is contained in:
parent
b653aa57b7
commit
9e39c3495d
@ -217,7 +217,7 @@ public class PartyCommand implements TabExecutor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private String[] extractArgs(String[] args) {
|
private String[] extractArgs(String[] args) {
|
||||||
return Arrays.copyOfRange(args, 1, args.length - 1);
|
return Arrays.copyOfRange(args, 1, args.length);
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isItemShareCategory(String category) {
|
private boolean isItemShareCategory(String category) {
|
||||||
|
Loading…
Reference in New Issue
Block a user