@@ -292,7 +292,7 @@ abstract class Configurable(
292292 description : String = "",
293293 unit : String = "",
294294 visibility : () -> Boolean = { true },
295- ) = DoubleSetting (name, defaultValue, range, step, description, visibility, unit ).register()
295+ ) = DoubleSetting (name, defaultValue, range, step, description, unit, visibility ).register()
296296
297297 /* *
298298 * Creates a [FloatSetting] with the provided parameters and adds it to the [settings].
@@ -317,7 +317,7 @@ abstract class Configurable(
317317 description : String = "",
318318 unit : String = "",
319319 visibility : () -> Boolean = { true },
320- ) = FloatSetting (name, defaultValue, range, step, description, visibility, unit ).register()
320+ ) = FloatSetting (name, defaultValue, range, step, description, unit, visibility ).register()
321321
322322 /* *
323323 * Creates an [IntegerSetting] with the provided parameters and adds it to the [settings].
@@ -342,7 +342,7 @@ abstract class Configurable(
342342 description : String = "",
343343 unit : String = "",
344344 visibility : () -> Boolean = { true },
345- ) = IntegerSetting (name, defaultValue, range, step, description, visibility, unit ).register()
345+ ) = IntegerSetting (name, defaultValue, range, step, description, unit, visibility ).register()
346346
347347 /* *
348348 * Creates a [LongSetting] with the provided parameters and adds it to the [settings].
@@ -367,7 +367,7 @@ abstract class Configurable(
367367 description : String = "",
368368 unit : String = "",
369369 visibility : () -> Boolean = { true },
370- ) = LongSetting (name, defaultValue, range, step, description, visibility, unit ).register()
370+ ) = LongSetting (name, defaultValue, range, step, description, unit, visibility ).register()
371371
372372 /* *
373373 * Creates a [KeyBindSetting] with the provided parameters and adds it to the [settings].
0 commit comments