Skip to content

Commit 08e3362

Browse files
committed
fixed bug in double list config
1 parent 0af5c94 commit 08e3362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/falsepattern/lib/internal/impl/config/fields/DoubleListConfigField.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public DoubleListConfigField(Field field, Configuration configuration, String ca
6262
property.setDefaultValues(defaultValue);
6363
property.setMinValue(min);
6464
property.setMaxValue(max);
65-
if (!property.isIntList()) {
65+
if (!property.isDoubleList()) {
6666
setToDefault();
6767
}
6868
property.comment += "\n[range: " + min + " ~ " + max + ", default: " + Arrays.toString(defaultValue) + "]";

0 commit comments

Comments
 (0)