Upgrades Check & Check for Alts usage in faction

This commit is contained in:
Driftay 2019-05-24 19:36:03 -04:00
parent d65233d9e0
commit 1f680b56f0
5 changed files with 5 additions and 6 deletions

View File

@ -22,7 +22,7 @@ public class CmdAlts extends FCommand {
this.disableOnLock = false; this.disableOnLock = false;
senderMustBePlayer = true; senderMustBePlayer = true;
senderMustBeMember = false; senderMustBeMember = true;
senderMustBeModerator = false; senderMustBeModerator = false;
senderMustBeAdmin = false; senderMustBeAdmin = false;

View File

@ -24,7 +24,7 @@ public class CmdInviteAlt extends FCommand {
this.disableOnLock = true; this.disableOnLock = true;
senderMustBePlayer = true; senderMustBePlayer = true;
senderMustBeMember = false; senderMustBeMember = true;
senderMustBeModerator = false; senderMustBeModerator = false;
senderMustBeColeader = false; senderMustBeColeader = false;
senderMustBeAdmin = false; senderMustBeAdmin = false;

View File

@ -25,7 +25,7 @@ public class CmdKickAlt extends FCommand{
this.disableOnLock = false; this.disableOnLock = false;
senderMustBePlayer = true; senderMustBePlayer = true;
senderMustBeMember = false; senderMustBeMember = true;
senderMustBeModerator = false; senderMustBeModerator = false;
senderMustBeAdmin = false; senderMustBeAdmin = false;
} }

View File

@ -30,8 +30,7 @@ public class CmdUpgrades extends FCommand {
fme.sendMessage("This command is disabled!"); fme.sendMessage("This command is disabled!");
return; return;
} }
FUpgradesGUI fgui = new FUpgradesGUI(); new FUpgradesGUI().openMainMenu(fme);
fgui.openMainMenu(fme);
} }
@Override @Override