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;
senderMustBePlayer = true;
senderMustBeMember = false;
senderMustBeMember = true;
senderMustBeModerator = false;
senderMustBeAdmin = false;

View File

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

View File

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

View File

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

View File

@ -1069,7 +1069,7 @@ public abstract class MemoryFPlayer implements FPlayer {
if (me == null) {
return false;
}
int radius = Conf.stealthFlyCheckRadius;
for (Entity e : me.getNearbyEntities(radius, 255, radius)) {
if (e == null) {