mirror of
https://github.com/Brettflan/WorldBorder.git
synced 2024-11-26 03:55:57 +01:00
Update BorderCheckTask.java
This commit is contained in:
parent
98c98b8618
commit
bb82f464f9
@ -56,7 +56,7 @@ public class BorderCheckTask implements Runnable
|
||||
return null;
|
||||
|
||||
// if player is in bypass list (from bypass command), allow them beyond border; also ignore players currently being handled already
|
||||
if (Config.isPlayerBypassing(player.getUniqueId()) || handlingPlayers.contains(player.getName().toLowerCase()))
|
||||
if (Config.isPlayerBypassing(player.getUniqueId()) || handlingPlayers.contains(player.getName().toLowerCase()) || Config.HasPermission(player, "autobypass", false))
|
||||
return null;
|
||||
|
||||
// tag this player as being handled so we can't get stuck in a loop due to Bukkit currently sometimes repeatedly providing incorrect location through teleport event
|
||||
|
Loading…
Reference in New Issue
Block a user