diff options
Diffstat (limited to 'src/main/java/dev/isxander/yacl3/impl/controller/DoubleFieldControllerBuilderImpl.java')
-rw-r--r-- | src/main/java/dev/isxander/yacl3/impl/controller/DoubleFieldControllerBuilderImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/dev/isxander/yacl3/impl/controller/DoubleFieldControllerBuilderImpl.java b/src/main/java/dev/isxander/yacl3/impl/controller/DoubleFieldControllerBuilderImpl.java index 8d84e7d..51369cc 100644 --- a/src/main/java/dev/isxander/yacl3/impl/controller/DoubleFieldControllerBuilderImpl.java +++ b/src/main/java/dev/isxander/yacl3/impl/controller/DoubleFieldControllerBuilderImpl.java @@ -11,7 +11,7 @@ import net.minecraft.network.chat.Component; import java.util.function.Function; public class DoubleFieldControllerBuilderImpl extends AbstractControllerBuilderImpl<Double> implements DoubleFieldControllerBuilder { - private double min = Double.MIN_VALUE; + private double min = -Double.MAX_VALUE; private double max = Double.MAX_VALUE; private ValueFormatter<Double> formatter = DoubleSliderController.DEFAULT_FORMATTER::apply; |