Fix anti bot reading the correct values

This commit is contained in:
games647
2022-06-18 18:08:40 +02:00
parent fb32f0b386
commit 10785b32ac
5 changed files with 6 additions and 6 deletions
@@ -151,8 +151,8 @@ public class FastLoginCore<P extends C, C, T extends PlatformPlugin<C>> {
return () -> true;
}
int maxCon = botSection.getInt("anti-bot.connections", 200);
long expireTime = botSection.getLong("anti-bot.expire", 5) * 60 * 1_000L;
int maxCon = botSection.getInt("connections", 200);
long expireTime = botSection.getLong("expire", 5) * 60 * 1_000L;
if (expireTime > MAX_EXPIRE_RATE) {
expireTime = MAX_EXPIRE_RATE;
}