Skip to content

Commit 6424ec2

Browse files
committed
sort the build results in BreakInfo::simulate
1 parent 0700e5b commit 6424ec2

File tree

1 file changed

+1
-1
lines changed
  • common/src/main/kotlin/com/lambda/interaction/request/breaking

1 file changed

+1
-1
lines changed

common/src/main/kotlin/com/lambda/interaction/request/breaking/BreakManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ object BreakManager : RequestHandler<BreakRequest>(), PositionBlocking {
573573
)
574574
.toBlueprint()
575575
.simulate(player.eyePos, interactionConfig, rotationConfig, inventoryConfig, buildConfig)
576-
.firstOrNull()
576+
.minOrNull()
577577
?: return
578578

579579
if (result is BreakResult.Break) {

0 commit comments

Comments
 (0)