Home Permissable Action Fixed
Usage: /f home <faction>
This commit is contained in:
parent
126dfe49a1
commit
16cbee7050
@ -63,8 +63,9 @@ public class CmdHome extends FCommand {
|
||||
if(factionArg == null || factionArg.isWilderness())
|
||||
return;
|
||||
|
||||
Access access1 = myFaction.getAccess(fme, PermissableAction.HOME);
|
||||
if(factionArg.hasHome()){
|
||||
if(fme.isAdminBypassing()) {
|
||||
if(fme.isAdminBypassing() || access1 == Access.ALLOW ) {
|
||||
fme.getPlayer().teleport(factionArg.getHome());
|
||||
fme.msg(TL.COMMAND_HOME_TELEPORT_OTHER, factionArg.getTag());
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user