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

Đang mở
#2,299 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
game-dev

Hướng nghiên cứu

Tái hiện vấn đề với một vùng chọn, //move -s 10 up và //undo, sau đó lần theo cách xử lý undo cho lệnh //move và việc dịch chuyển vùng chọn của nó. Hoàn thành khi việc undo lệnh khôi phục cả các khối và vùng chọn về các vị trí trước đó.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Java
Star
3.5k
Fork
981
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của EngineHub/WorldEdit

Tất cả issue của EngineHub/WorldEdit

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.