Skip to content

Commit

Permalink
fix double pasting
Browse files Browse the repository at this point in the history
  • Loading branch information
Gutin1 committed Jan 30, 2025
1 parent edf6698 commit 340d2fa
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ fun placeSchematicEfficiently(
if (blockData.material.isAir) {
continue
}
val blockKey = blockKey(vector.x(), vector.y(), vector.z())
val blockKey = blockKey(vector.x() + offset.x(), vector.y() + offset.y(), vector.z() + offset.z())

queue[blockKey] = blockData.nms
}

Expand Down

0 comments on commit 340d2fa

Please sign in to comment.