Fix IllegalArgumentException: 1 > 0

This commit is contained in:
TfT_02 2014-02-09 17:15:42 +01:00
parent b653aa57b7
commit 9e39c3495d

View File

@ -217,7 +217,7 @@ public class PartyCommand implements TabExecutor {
}
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) {