Skip to content

Commit

Permalink
chore: improve default values (CCBlueX#4235)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccetl authored Oct 24, 2024
1 parent 2a88049 commit bc4ca55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class BlockPlacer(
val ignoreOpenInventory by boolean("IgnoreOpenInventory", true)
val ignoreUsingItem by boolean("IgnoreUsingItem", true)

val rotationMode = choices<RotationMode>(this, "RotationMode", { it.choices[1] }, {
val rotationMode = choices<RotationMode>(this, "RotationMode", { it.choices[0] }, {
arrayOf(NormalRotationMode(it, this), NoRotationMode(it, this))
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ open class PlacementRenderer(
val inTime by int("InTime", 500, 0..5000, "ms")
val outTime by int("OutTime", 500, 0..5000, "ms")

private val colorSetting by color("Color", Color4b(0, 255, 0, 150))
private val outlineColorSetting by color("OutlineColor", Color4b(0, 255, 0, 150))
private val colorSetting by color("Color", Color4b(0, 255, 0, 90))
private val outlineColorSetting by color("OutlineColor", Color4b(0, 255, 0, 255))

/**
* The [PlacementRenderHandler]s managed by this renderer.
Expand Down

0 comments on commit bc4ca55

Please sign in to comment.