Fix automatic antibot (#2611)

This commit is contained in:
ChanceSD 2022-09-02 12:54:22 +01:00 committed by GitHub
parent 63780e3f7c
commit 0d29c18ab4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ public class AntiBotService implements SettingsDependent {
duration = settings.getProperty(ProtectionSettings.ANTIBOT_DURATION);
int sensibility = settings.getProperty(ProtectionSettings.ANTIBOT_SENSIBILITY);
int interval = settings.getProperty(ProtectionSettings.ANTIBOT_INTERVAL);
flaggedCounter = new AtomicIntervalCounter(sensibility, interval);
flaggedCounter = new AtomicIntervalCounter(sensibility, interval * 1000);
// Stop existing protection
stopProtection();