diff --git a/src/main/java/com/gmail/nossr50/commands/party/PartyCommand.java b/src/main/java/com/gmail/nossr50/commands/party/PartyCommand.java index 538a038a2..c2a6ee298 100644 --- a/src/main/java/com/gmail/nossr50/commands/party/PartyCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/party/PartyCommand.java @@ -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) {