Fixed the fix!

This commit is contained in:
bm01 2012-05-06 11:05:51 +02:00
parent fbfeaa0f95
commit 063d982750

View File

@ -159,13 +159,13 @@ public class PartyCommand implements CommandExecutor {
return true;
case 2:
if (!partyInstance.isParty(args[1])) {
sender.sendMessage(LocaleLoader.getString("Party.InvalidName"));
return true;
}
if (PP.inParty()) {
if (args[0].equalsIgnoreCase("password")) {
if (!partyInstance.isParty(args[1])) {
sender.sendMessage(LocaleLoader.getString("Party.InvalidName"));
return true;
}
if (isLeader) {
if (!partyInstance.isPartyLocked(partyName)) {
partyInstance.lockParty(partyName);