Skip to content

Commit 0d29c18

Browse files
authored
Fix automatic antibot (#2611)
1 parent 63780e3 commit 0d29c18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/fr/xephi/authme/service/AntiBotService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void reload(Settings settings) {
5656
duration = settings.getProperty(ProtectionSettings.ANTIBOT_DURATION);
5757
int sensibility = settings.getProperty(ProtectionSettings.ANTIBOT_SENSIBILITY);
5858
int interval = settings.getProperty(ProtectionSettings.ANTIBOT_INTERVAL);
59-
flaggedCounter = new AtomicIntervalCounter(sensibility, interval);
59+
flaggedCounter = new AtomicIntervalCounter(sensibility, interval * 1000);
6060

6161
// Stop existing protection
6262
stopProtection();

0 commit comments

Comments
 (0)