diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/config/MachinesConfig.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/config/MachinesConfig.kt index 3fc705cbd..5bb1b860b 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/config/MachinesConfig.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/config/MachinesConfig.kt @@ -212,7 +212,7 @@ object MachinesConfig : AbstractConfig("machines") { val MAX_ENERGY by builder .comment("Maximal combined energy consumption percentage") - .defineDecimal("MAX_ENERGY", Decimal.LONG_MAX_VALUE, Decimal.ZERO) + .defineDecimal("MAX_ENERGY", Decimal.POSITIVE_INFINITY, Decimal.ZERO) init { builder.pop()