mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-24 03:05:17 +01:00
update player move event listener.
This commit is contained in:
parent
9bcc210428
commit
f90104ca2d
@ -130,6 +130,9 @@ public class AuthMePlayerListener implements Listener {
|
||||
|
||||
@EventHandler(ignoreCancelled = true, priority = EventPriority.MONITOR)
|
||||
public void onPlayerMove(PlayerMoveEvent event) {
|
||||
if (Settings.isMovementAllowed && Settings.getMovementRadius <= 0)
|
||||
return;
|
||||
|
||||
Player player = event.getPlayer();
|
||||
if (Utils.checkAuth(player))
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user