We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dad01e commit 7ea2794Copy full SHA for 7ea2794
common/src/main/kotlin/com/lambda/interaction/construction/simulation/BuildSimulator.kt
@@ -313,12 +313,11 @@ object BuildSimulator {
313
}
314
315
316
- if (!place.axisRotate) {
317
- simulatePlaceState()?.let { placeResult ->
+ simulatePlaceState()?.let simulatePlaceState@ { placeResult ->
+ if (!place.axisRotate) {
318
acc.add(placeResult)
319
return@forEach
320
321
- } else run axisRotate@ {
322
placementRotations.forEachIndexed direction@ { index, angle ->
323
fakePlayer.rotation = angle
324
@@ -335,7 +334,7 @@ object BuildSimulator {
335
334
336
337
else -> {
338
- return@axisRotate
+ return@simulatePlaceState
339
340
341
0 commit comments