Prevent safely logging out in shop zones while tagged
This commit is contained in:
parent
4a186a8dec
commit
a8e3a530c1
@ -43,4 +43,4 @@ public class CustomRecipes implements Listener
|
|||||||
{
|
{
|
||||||
UtilPlayer.message(player, F.main("Recipes", message));
|
UtilPlayer.message(player, F.main("Recipes", message));
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -51,7 +51,7 @@ public class SafeLog extends MiniPlugin
|
|||||||
{
|
{
|
||||||
boolean isSafeLog = false;
|
boolean isSafeLog = false;
|
||||||
|
|
||||||
if (_clansManager.getClanUtility().isSafe(player.getLocation()))
|
if (_clansManager.getClanUtility().isSafe(player))
|
||||||
{
|
{
|
||||||
isSafeLog = true;
|
isSafeLog = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user