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

オープン
#2,299 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
game-dev

調査の方向性

選択範囲を使って //move -s 10 up と //undo を実行して問題を再現し、その後、//move コマンドとその選択範囲の移動に対する undo 処理を追跡します。コマンドを元に戻したときに、ブロックと選択範囲の両方が以前の位置に復元されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Java
スター
3.5k
フォーク
981
平均マージ
2日 15時間
マージ済み PR(30日)
11

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

EngineHub/WorldEdit のほかの issue

EngineHub/WorldEdit の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。