Skip to content

Commit 239930d

Browse files
committed
small fix to the setting checks
1 parent 58aef67 commit 239930d

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ object BuildSimulator {
297297
acc.add(PlaceResult.BlockedByEntity(pos))
298298
return@forEach
299299
}
300-
var rot = checkedHit.targetRotation
300+
var rot = fakePlayer.rotation
301301

302302
val simulatePlaceState = placeState@ {
303303
resultState = blockItem.getPlacementState(context)
@@ -313,7 +313,7 @@ object BuildSimulator {
313313
}
314314
}
315315

316-
if (!place.axisRotate && place.rotateForPlace) {
316+
if (!place.axisRotate) {
317317
simulatePlaceState()?.let { placeResult ->
318318
acc.add(placeResult)
319319
return@forEach

0 commit comments

Comments
 (0)