fix(mystical-upgrader): replace the first picked block correctly

This commit is contained in:
Guillaume ARM 2024-05-25 22:08:27 +02:00
parent c7d0f5681a
commit 3df6cfa706

View File

@ -221,7 +221,7 @@ local upProcedure = function(state)
while state.y ~= firstY do while state.y ~= firstY do
goUp(state) goUp(state)
if state.y == firstY + 1 and state.firstPickedItem then if state.y == firstY and state.firstPickedItem then
placeDownItem(state.firstPickedItem) placeDownItem(state.firstPickedItem)
else else
placeDownFillBlock() placeDownFillBlock()