Skip to content

Commit 638a86c

Browse files
committed
use correct block position when setting checked state in build sim
1 parent 98c3a3c commit 638a86c

File tree

1 file changed

+1
-1
lines changed
  • common/src/main/kotlin/com/lambda/interaction/construction/simulation

1 file changed

+1
-1
lines changed

common/src/main/kotlin/com/lambda/interaction/construction/simulation/BuildSimulator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ object BuildSimulator {
299299
RotationRequest(lookAt(checkedHit.targetRotation, 0.001), rotation),
300300
eye.distanceTo(blockHit.pos),
301301
resultState,
302-
blockState(blockHit.blockPos),
302+
blockState(blockHit.blockPos.offset(blockHit.side)),
303303
player.inventory.selectedSlot,
304304
context.blockPos,
305305
target,

0 commit comments

Comments
 (0)