Skip to content

Commit

Permalink
Stop AC_ItemPaste from pasting twice
Browse files Browse the repository at this point in the history
  • Loading branch information
TechPizzaDev committed Oct 24, 2023
1 parent 8e20621 commit 06e7a04
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,6 @@ public ItemStack use(ItemStack item, World world, PlayerEntity player) {
}
}

for (int x = 0; x < width; ++x) {
for (int y = 0; y < height; ++y) {
for (int z = 0; z < depth; ++z) {
int i = depth * (height * x + y) + z;
int id = idArray[i];
int meta = metaArray[i];
world.setBlockWithMetadata(baseX + x, baseY + y, baseZ + z, id, meta);
}
}
}

for (int x = 0; x < width; ++x) {
for (int y = 0; y < height; ++y) {
for (int z = 0; z < depth; ++z) {
Expand Down

0 comments on commit 06e7a04

Please sign in to comment.