mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-07 03:02:11 +01:00
Fix tempkickillegal setting being ignored.
This commit is contained in:
parent
04b82ad0a6
commit
607407d4fa
@ -129,9 +129,9 @@ public class MovingListener extends CheckListener implements TickListener, IRemo
|
|||||||
// TODO: correct the location ?
|
// TODO: correct the location ?
|
||||||
NCPAPIProvider.getNoCheatPlusAPI().denyLogin(player.getName(), 24L * 60L * 60L * 1000L);
|
NCPAPIProvider.getNoCheatPlusAPI().denyLogin(player.getName(), 24L * 60L * 60L * 1000L);
|
||||||
LogUtil.logSevere("[NCP] could not restore location for " + player.getName() + " deny login for 24 hours");
|
LogUtil.logSevere("[NCP] could not restore location for " + player.getName() + " deny login for 24 hours");
|
||||||
|
// TODO: reset the bounding box of the player ?
|
||||||
|
CheckUtils.kickIllegalMove(player);
|
||||||
}
|
}
|
||||||
// TODO: reset the bounding box of the player ?
|
|
||||||
CheckUtils.kickIllegalMove(player);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user