fix: auth timeout seconds

This commit is contained in:
ChomeNS
2025-05-18 09:22:49 +07:00
parent 5b56f411a1
commit d1d7b9fb29
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ public class Configuration {
public static class OwnerAuthentication {
public boolean enabled = false;
public int timeout = 10 * 1000;
public int timeout = 10;
}
public static class Backup {

View File

@@ -80,7 +80,7 @@ consoleChatFormat: '{"translate":"chat.type.text","with":["OWNER_NAME","MESSAGE"
ownerAuthentication:
enabled: false
timeout: 10000 # 10 seconds - 10 * 1000
timeout: 10 # in seconds !!! not milliseconds
# if this is enabled when someone does a clear chat command the bot
# will tellraw `{player} cleared the chat`