IntellectualSites / IntellectualSites/FastAsyncWorldEdit

Mask flag -m in the //move command deletes all other blocks

Open
#2,956 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Approved Bug
Dominant language
Java
Stars
806
Forks
394
Avg merge
22h 19m
Merged PRs (30d)
14

Description

Server Implementation

Paper

Server Version

1.21

Describe the bug

When selecting a region and executing //move 1 up -m [block], the masked [block] is moved while all others are deleted. Any vector yields the same result.
Using normal world edit, doing the same command moves the masked [block] while keeping all others intact.

To Reproduce
  1. Select a region with more than one block type.
  2. Execute: //move 1 down -m [block] with a chosen block and any vector
  3. Behold the mass destruction. My god, what have you done...
Expected behaviour

The masked block(s) are moved and all others should remain. This is not the case with this issue.
2024-10-10_22 28 28
2024-10-10_22 28 39

Screenshots / Videos

2024-10-24_20 41 26
2024-10-24_20 41 15

Error log (if applicable)

No response

Fawe Debugpaste

https://athion.net/ISPaster/paste/view/ad57abf54a794c9aaba70851c2529209

Fawe Version

FastAsyncWorldEdit 2.11.3 SNAPSHOT 930

Checklist
Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a mixed-block selection and the //move 1 down -m [block] command, using the linked FAWE debugpaste for context. Trace the //move mask-handling path and compare it with normal WorldEdit behavior; done means masked blocks move while unmasked blocks remain intact for arbitrary vectors.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.