From fbfeaa0f95d59837fdb4937d59cbf7ea9bd002b1 Mon Sep 17 00:00:00 2001 From: bm01 Date: Sun, 6 May 2012 11:02:08 +0200 Subject: [PATCH] Fixed /party not working properly with 2 arguments --- .../java/com/gmail/nossr50/commands/party/PartyCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9202d5d62..1a454baf1 100644 --- a/src/main/java/com/gmail/nossr50/commands/party/PartyCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/party/PartyCommand.java @@ -159,7 +159,7 @@ public class PartyCommand implements CommandExecutor { return true; case 2: - if (!partyInstance.isParty(args[0])) { + if (!partyInstance.isParty(args[1])) { sender.sendMessage(LocaleLoader.getString("Party.InvalidName")); return true; }