mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-06 18:50:54 +01:00
Keep it at faster enabled-checks for moving event.
This commit is contained in:
parent
1e7b60f79b
commit
c43a00e21c
@ -391,7 +391,7 @@ public class MovingListener implements Listener {
|
||||
|
||||
final Location passableTo;
|
||||
// Check passable in any case (!)
|
||||
if (passable.isEnabled(player)) {
|
||||
if (cc.passableCheck && !NCPExemptionManager.isExempted(player, CheckType.MOVING_PASSABLE) && !player.hasPermission(Permissions.MOVING_PASSABLE)) {
|
||||
// Passable is checked first to get the original set-back locations from the other checks, if needed.
|
||||
passableTo = passable.check(player, pFrom, pTo, data, cc);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user