WorldEdit

WorldEdit

43M Downloads

Undoing `-s` flagged command does not move the selection back.

downloadpizza opened this issue ยท 2 comments

commented

WorldEdit Version

7.2.14-SNAPSHOT

Platform Version

Bukkit-Official

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

When using a command with a -s flag which shifts the selection to the new location (for example //move and then undoing the command, the selection is left in the new place.

Expected Behavior

When undoing such a command the selection should be moved back to the previous location. (I think at least, let me know if you disagree)

Reproduction Steps

Make a selection of some blocks
Run //move -s 10 up
Run //undo
Witness the Selection staying at the new location.

Anything Else?

Not sure if this is worth fixing. This would require saving locations and I have no idea how undo works internally atm. It is not a huge problem so the devs can decide if this is worth it.

commented

Selections are not tracked as part of the undo stack, this is kind of not a bug but it is odd behavior that should be documented.

commented

Yeah I thought so, was a bit hard to label it since it is more unimplemented behaviour than anything else. Thanks