Lowered limit for the afk time threshold option as it needs to be converted into ticks later.
This commit is contained in:
@ -68,7 +68,7 @@ public final class Config {
|
|||||||
.define("enabled", true);
|
.define("enabled", true);
|
||||||
AFK_TIME_THRESHOLD = builder
|
AFK_TIME_THRESHOLD = builder
|
||||||
.comment("How long a player needs to be afk to become protected. (seconds)")
|
.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
|
AFK_APPLY_POST_EFFECTS = builder
|
||||||
.comment("Whether to apply any post protection effects to afk players.")
|
.comment("Whether to apply any post protection effects to afk players.")
|
||||||
.define("applyPostProtectionEffects", false);
|
.define("applyPostProtectionEffects", false);
|
||||||
|
|||||||
Reference in New Issue
Block a user