wrap-up commits for "not a true Alpha 2.0 release I was hoping for"

This commit is contained in:
minjaesong
2024-11-15 23:41:25 +09:00
parent 2d7ef6e9ff
commit 63fe28eee2
2 changed files with 7 additions and 4 deletions

View File

@@ -175,7 +175,7 @@ open class Electric : FixtureBase {
val wx = x + worldBlockPos!!.x
val wy = y + worldBlockPos!!.y
println("Wxy($wx,$wy) getWireState($type)=$new, oldState($type)=$old")
// println("Wxy($wx,$wy) getWireState($type)=$new, oldState($type)=$old")
if (new.x - old.x >= ELECTRIC_THRESHOLD_EDGE_DELTA && new.x >= ELECTRIC_THRESHOLD_HIGH)
risingEdgeIndices.add(index)
@@ -188,9 +188,9 @@ open class Electric : FixtureBase {
}
}
if (risingEdgeIndices.isNotEmpty()) {
println("risingEdgeIndices=$risingEdgeIndices")
}
// if (risingEdgeIndices.isNotEmpty()) {
// println("risingEdgeIndices=$risingEdgeIndices")
// }
risingEdgeIndices.forEach { onRisingEdge(it) }
fallingEdgeIndices.forEach { onFallingEdge(it) }