Upgrades Check & Check for Alts usage in faction
This commit is contained in:
parent
d65233d9e0
commit
1f680b56f0
@ -22,7 +22,7 @@ public class CmdAlts extends FCommand {
|
||||
this.disableOnLock = false;
|
||||
|
||||
senderMustBePlayer = true;
|
||||
senderMustBeMember = false;
|
||||
senderMustBeMember = true;
|
||||
senderMustBeModerator = false;
|
||||
senderMustBeAdmin = false;
|
||||
|
||||
|
@ -24,7 +24,7 @@ public class CmdInviteAlt extends FCommand {
|
||||
this.disableOnLock = true;
|
||||
|
||||
senderMustBePlayer = true;
|
||||
senderMustBeMember = false;
|
||||
senderMustBeMember = true;
|
||||
senderMustBeModerator = false;
|
||||
senderMustBeColeader = false;
|
||||
senderMustBeAdmin = false;
|
||||
|
@ -25,7 +25,7 @@ public class CmdKickAlt extends FCommand{
|
||||
this.disableOnLock = false;
|
||||
|
||||
senderMustBePlayer = true;
|
||||
senderMustBeMember = false;
|
||||
senderMustBeMember = true;
|
||||
senderMustBeModerator = false;
|
||||
senderMustBeAdmin = false;
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user