Remove safezone requirement for observer mode

This commit is contained in:
Alexander Meech 2016-08-09 15:10:45 -04:00 committed by GitHub
parent e5a96e8189
commit 5fca64b86b

View File

@ -166,21 +166,6 @@ public class ObserverManager extends MiniPlugin
public boolean canEnterObserverMode(Player player, boolean notify)
{
if (_clansManager.getClientManager().hasRank(player, Rank.CMOD))
{
return true;
}
ClanTerritory territory = _clansManager.getClanUtility().getClaim(player.getLocation());
if (territory == null || !territory.isSafe(player.getLocation()))
{
if (notify)
UtilPlayer.message(player, F.main("Observer", "You must be in a Safe Zone to use observer mode!"));
return false;
}
return true;
}