diff --git a/src/main/java/dev/micle/totemofreviving/config/Config.java b/src/main/java/dev/micle/totemofreviving/config/Config.java index 48998e0..9017d68 100644 --- a/src/main/java/dev/micle/totemofreviving/config/Config.java +++ b/src/main/java/dev/micle/totemofreviving/config/Config.java @@ -80,12 +80,11 @@ public final class Config { "Higher values set the charge cost to static, meaning that this will be the amount of charges needed to revive someone.") .defineInRange("chargeCost", chargeCost, -1, Integer.MAX_VALUE); CHARGE_COST_LIMIT = builder - .comment("The max amount of charge this totem can hold at once.\n" + - "0 means unlimited. Only works with dynamic cost.") - .defineInRange("chargeCostLimit", chargeCostLimit, 0, Integer.MAX_VALUE); + .comment("The max amount of charge this totem can hold at once. Only works with dynamic cost.") + .defineInRange("chargeCostLimit", chargeCostLimit, 1, Integer.MAX_VALUE); CHARGE_COST_MULTIPLIER = builder .comment("Charge cost multiplier. 0.5 means the charge cost will be 50% of the original cost. Only works with dynamic cost.") - .defineInRange("chargeCostMultiplier", chargeCostMultiplier, 0.01, Integer.MAX_VALUE); + .defineInRange("chargeCostMultiplier", chargeCostMultiplier, 0.01, 100); CAN_REVIVE_MORE_EXPENSIVE_TARGETS = builder .comment("Is the totem able to revive targets that cost more than the totems max charge?\n" + "This only applies if the totem is fully charged. (dynamic wont work if limit is 0)")