mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Fixed the fix!
This commit is contained in:
parent
fbfeaa0f95
commit
063d982750
@ -159,13 +159,13 @@ public class PartyCommand implements CommandExecutor {
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
if (!partyInstance.isParty(args[1])) {
|
|
||||||
sender.sendMessage(LocaleLoader.getString("Party.InvalidName"));
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user