Fixed /party not working properly with 2 arguments

This commit is contained in:
bm01 2012-05-06 11:02:08 +02:00
parent 9b11b02658
commit fbfeaa0f95

View File

@ -159,7 +159,7 @@ public class PartyCommand implements CommandExecutor {
return true; return true;
case 2: case 2:
if (!partyInstance.isParty(args[0])) { if (!partyInstance.isParty(args[1])) {
sender.sendMessage(LocaleLoader.getString("Party.InvalidName")); sender.sendMessage(LocaleLoader.getString("Party.InvalidName"));
return true; return true;
} }