FastAsyncWorldEdit

FastAsyncWorldEdit

152k Downloads

Operations not working in chunks with Polygonal Worldguard region border.

LM-Wolfert opened this issue ยท 1 comments

commented

Server Implementation

Paper

Server Version

1.18.2

Describe the bug

When using commands such as //set with a cuboid selection in a chunk that also has a border of a polygonal worldguard region the operation will not edit blocks and throw a NullPointerException in the console.

To Reproduce

  1. Create a polygonal Worldguard region. It must have at least 1 whole chunk in the region.
  2. Add yourself as a member of that region with sufficient permissions to use FAWE commands in it.
  3. Create a cuboid selection that includes at least part of the whole chunk and another part in a chunk that includes a region border.
  4. Run //set stone, it will now only set the stone in the chunk where no border exists. A NullPointerException is caught in the console. (The exception only occurs when a the selection is both inside and outside the region)

Expected behaviour

The command should execute in the complete selected area that is within the bounds of the polygonal region instead of just being in the chunks without the border.

Screenshots / Videos

2023-06-02_20 01 43
Description:
The region boundary is indicated by the lime concrete blocks, the selection covers parts of 2 chunks, 1 of which does not include a region boundary, this is the chunk where the operation worked. The number of effected blocks appears to be much higher than the selected area (indicated by the orange concrete).

Error log (if applicable)

https://gist.github.com/LM-Wolfert/efd5c92802c1c77d664d1bedf73fb969

Fawe Debugpaste

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

Fawe Version

FastAsyncWorldEdit-Bukkit-2.6.2-SNAPSHOT-445.jar

Checklist

Anything else?

No response

commented

The exception no longer appears however operations still don't update blocks when editing in the same chunk as a region border.