Jelajahi Sumber

Fixed bad /party fix :(

bm01 13 tahun lalu
induk
melakukan
946ea19371

+ 1 - 0
Changelog.txt

@@ -20,6 +20,7 @@ Version 1.3.07
  + Added config options for enabling/disabling specific double drops
  + Added automatic zip backup of flatfile database & config files
  + 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 rare NPE on /party command
  = Fixed Arrow Retrieval dropping only one arrow

+ 0 - 5
src/main/java/com/gmail/nossr50/commands/party/PartyCommand.java

@@ -161,11 +161,6 @@ public class PartyCommand implements CommandExecutor {
         case 2:
             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);