Prevent safely logging out in shop zones while tagged

This commit is contained in:
AlexTheCoder 2016-10-30 15:20:22 -04:00 committed by Shaun Bennett
parent 4a186a8dec
commit a8e3a530c1
2 changed files with 2 additions and 2 deletions

View File

@ -43,4 +43,4 @@ public class CustomRecipes implements Listener
{
UtilPlayer.message(player, F.main("Recipes", message));
}
}
}

View File

@ -51,7 +51,7 @@ public class SafeLog extends MiniPlugin
{
boolean isSafeLog = false;
if (_clansManager.getClanUtility().isSafe(player.getLocation()))
if (_clansManager.getClanUtility().isSafe(player))
{
isSafeLog = true;
}