Fix tempkickillegal setting being ignored.

This commit is contained in:
asofold 2014-07-13 00:29:52 +02:00
parent 04b82ad0a6
commit 607407d4fa

View File

@ -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);
} }