EngineHub / EngineHub/WorldEdit
Undoing `-s` flagged command does not move the selection back.
- Dominant language
- Java
- Stars
- 3.5k
- Forks
- 960
- Avg merge
- 6h 57m
- Merged PRs (30d)
- 1
Description
### WorldEdit Version
7.2.14-SNAPSHOT
### Platform Version
Bukkit-Official
### Confirmations
- [X] I am using the most recent Minecraft release.
- [X] I am using a version of WorldEdit compatible with my Minecraft version.
- [X] I am using the latest or recommended version of my platform software.
- [X] I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
- [X] 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.
Contributor guide
Assessment
This issue has not been assessed yet.