We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a93e9e commit bc62c2dCopy full SHA for bc62c2d
src/main/kotlin/com/lambda/interaction/construction/simulation/result/Contextual.kt
@@ -37,7 +37,7 @@ interface Contextual : ComparableResult<Rank> {
37
when (other) {
38
is Contextual -> compareBy<BuildContext> {
39
if (it is InteractContext) BlockUtils.fluids.indexOf(it.cachedState.fluidState.fluid)
40
- else BlockUtils.fluids.size
+ else BlockUtils.fluids.size - 1
41
}.thenByDescending {
42
if (it is InteractContext && it.cachedState.fluidState.level != 0) it.blockPos.y
43
else Int.MIN_VALUE
0 commit comments