diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-06-15 22:34:21 +0700 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-06-15 22:34:21 +0700 |
commit | 22f9e4df5c76b7a7e2d403f71cab18e2ddfc45f9 (patch) | |
tree | 602c68712b5c1407d068b50e7760da57629cb584 /src | |
parent | d5416f1442dc80c816ab8d76c8cceaf391d0f481 (diff) | |
download | OneConfig-22f9e4df5c76b7a7e2d403f71cab18e2ddfc45f9.tar.gz OneConfig-22f9e4df5c76b7a7e2d403f71cab18e2ddfc45f9.tar.bz2 OneConfig-22f9e4df5c76b7a7e2d403f71cab18e2ddfc45f9.zip |
number
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/compatibility/vigilance/VigilanceConfig.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/config/compatibility/vigilance/VigilanceConfig.java b/src/main/java/cc/polyfrost/oneconfig/config/compatibility/vigilance/VigilanceConfig.java index a8fdb5e..ee3b97f 100644 --- a/src/main/java/cc/polyfrost/oneconfig/config/compatibility/vigilance/VigilanceConfig.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/compatibility/vigilance/VigilanceConfig.java @@ -80,6 +80,9 @@ public class VigilanceConfig extends Config { case DECIMAL_SLIDER: options.add(new ConfigSlider(getFieldOfProperty(option), option.getInstance(), getName(attributes), getCategory(attributes), getSubcategory(attributes), attributes.getMinF(), attributes.getMaxF(), 0)); break; + case NUMBER: + options.add(new ConfigSlider(getFieldOfProperty(option), option.getInstance(), getName(attributes), getCategory(attributes), getSubcategory(attributes), attributes.getMin(), attributes.getMax(), 1)); + break; case SLIDER: options.add(new ConfigSlider(getFieldOfProperty(option), option.getInstance(), getName(attributes), getCategory(attributes), getSubcategory(attributes), attributes.getMin(), attributes.getMax(), 0)); break; |