mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-28 11:37:39 +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