Merge a32e181cd6
into d8d1b28b57
This commit is contained in:
commit
7438dfe57b
|
@ -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
|
||||
|
|
|
@ -51,6 +51,7 @@ permissions:
|
|||
children:
|
||||
worldborder.bypass: true
|
||||
worldborder.bypasslist: true
|
||||
worldborder.autobypass: true
|
||||
worldborder.clear: true
|
||||
worldborder.debug: true
|
||||
worldborder.delay: true
|
||||
|
@ -82,6 +83,9 @@ permissions:
|
|||
worldborder.bypasslist:
|
||||
description: Can get list of players with border bypass enabled
|
||||
default: op
|
||||
worldborder.autobypass:
|
||||
description: Bypasses borders without needed to enable bypass mode
|
||||
default: op
|
||||
worldborder.clear:
|
||||
description: Can remove any border
|
||||
default: op
|
||||
|
|
Loading…
Reference in New Issue