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

Abierto
#2,299 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
java
Área
game-dev

Línea de trabajo

Reproduce el problema con una selección, //move -s 10 up y //undo, y luego sigue el manejo de deshacer del comando //move y el desplazamiento de su selección. Se considera terminado cuando deshacer el comando restaura tanto los bloques como la selección a sus ubicaciones anteriores.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

status:accepted type:tech-debt
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.

Lenguaje dominante
Java
Estrellas
3.5k
Forks
981
Merge medio
2 d 15 h
PR fusionados (30 d)
11

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de EngineHub/WorldEdit

Todos los issues de EngineHub/WorldEdit

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.