mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-11 18:27:32 +00:00
fixed bug in double list config
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -62,7 +62,7 @@ public class DoubleListConfigField extends AListConfigField<double[]> {
|
||||
property.setDefaultValues(defaultValue);
|
||||
property.setMinValue(min);
|
||||
property.setMaxValue(max);
|
||||
if (!property.isIntList()) {
|
||||
if (!property.isDoubleList()) {
|
||||
setToDefault();
|
||||
}
|
||||
property.comment += "\n[range: " + min + " ~ " + max + ", default: " + Arrays.toString(defaultValue) + "]";
|
||||
|
||||
Reference in new issue
Block a user