mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +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 (PP.inParty()) {
|
||||||
|
if (args[0].equalsIgnoreCase("password")) {
|
||||||
if (!partyInstance.isParty(args[1])) {
|
if (!partyInstance.isParty(args[1])) {
|
||||||
sender.sendMessage(LocaleLoader.getString("Party.InvalidName"));
|
sender.sendMessage(LocaleLoader.getString("Party.InvalidName"));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (PP.inParty()) {
|
|
||||||
if (args[0].equalsIgnoreCase("password")) {
|
|
||||||
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