EngineHub / WorldEdit

🗺️ Minecraft map editor and mod
https://enginehub.org/worldedit/
Other
3.09k stars 837 forks source link

Redstone breaks when using //move #2568

Closed IPlayMinecraftYT closed 3 months ago

IPlayMinecraftYT commented 3 months ago

WorldEdit Version

7.3.3

Platform Version

Fabric 0.15.11

Confirmations

Bug Description

Using //move on a selected area with redstone it breaks (the redstone drops as items) all the redstone except for the piece at the lowest x and y position

Expected Behavior

It should not break the redstone

Reproduction Steps

  1. select a horizontal area with more than 1 redstone
  2. use //move to move it in any horizontal direction

Anything Else?

I'm assuming that worldedit loops through all the redstone with a for loop in both the x and z directions, but it stops after the first loop and breaks all the other redstone. This happens for each vertical slice (each y value). However for some reason it breaks completely random pieces of redstone, and the only thing that is the same between all of it is that there will only be one piece of redstone left.

Notably I am running on a server with no other mods installed.

octylFractal commented 3 months ago

Duplicate of #2516

IPlayMinecraftYT commented 3 months ago

Not a duplicate of #2516, //stack and //paste work fine

octylFractal commented 3 months ago

They're all the same code so unless something very weird is going on, it's the same issue. The exact way to cause it can be unreliable to trigger.