Removed a test for antibot service.

This commit is contained in:
DNx5
2016-10-18 03:46:15 +07:00
parent b3fd6170fe
commit cbd9add1b7
3 changed files with 4 additions and 25 deletions
@@ -161,7 +161,7 @@ public class AntiBotService implements SettingsDependent {
if (lastFlaggedJoin == null) {
lastFlaggedJoin = Instant.now();
}
if (ChronoUnit.SECONDS.between(Instant.now(), lastFlaggedJoin) <= 5) {
if (ChronoUnit.SECONDS.between(lastFlaggedJoin, Instant.now()) <= 5) {
flagged++;
} else {
// reset to 1 because this player is also count as not registered