Fixed bad /party fix :(

This commit is contained in:
bm01 2012-05-08 06:57:41 +02:00
parent 419e011d0b
commit 946ea19371
2 changed files with 1 additions and 5 deletions

View File

@ -20,6 +20,7 @@ Version 1.3.07
+ Added config options for enabling/disabling specific double drops + Added config options for enabling/disabling specific double drops
+ Added automatic zip backup of flatfile database & config files + Added automatic zip backup of flatfile database & config files
+ Added config options to enable/disable specific skills for PVP & PVE + Added config options to enable/disable specific skills for PVP & PVE
= Fixed /party not working properly with 2 arguments
= Fixed /ability not checking the right permission = Fixed /ability not checking the right permission
= Fixed rare NPE on /party command = Fixed rare NPE on /party command
= Fixed Arrow Retrieval dropping only one arrow = Fixed Arrow Retrieval dropping only one arrow

View File

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