Lowered limit for the afk time threshold option as it needs to be converted into ticks later.

This commit is contained in:
2022-05-24 00:26:27 +01:00
parent 0f1950b5cd
commit fa9cba99bb

View File

@ -68,7 +68,7 @@ public final class Config {
.define("enabled", true);
AFK_TIME_THRESHOLD = builder
.comment("How long a player needs to be afk to become protected. (seconds)")
.defineInRange("timeThreshold", 600, 1, Integer.MAX_VALUE);
.defineInRange("timeThreshold", 600, 1, Integer.MAX_VALUE/20);
AFK_APPLY_POST_EFFECTS = builder
.comment("Whether to apply any post protection effects to afk players.")
.define("applyPostProtectionEffects", false);