mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Fixed /party not working properly with 2 arguments
This commit is contained in:
parent
9b11b02658
commit
fbfeaa0f95
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user