FastAsyncWorldEdit

FastAsyncWorldEdit

152k Downloads

max-blockstates config limit is not enforced on //set

SecretlyJealous opened this issue ยท 1 comments

commented

Server Implementation

Paper

Server Version

1.20.4

Describe the bug

I have max-blockstates: 5 however this restriction doesn't seem to be enforced when using //set or //set #clipboard.

Here is an example of where I was able to set 59,000 hoppers when it should have stopped me:
Example: //set hopper
2024-04-09_10 07 32

To Reproduce

  1. Set max-blockstates: to a low number
  2. Set a block entity beyond the limit you set

Expected behaviour

WorldEdit action should be prevented

Screenshots / Videos

No response

Error log (if applicable)

No response

Fawe Debugpaste

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

Fawe Version

2.9.3-SNAPSHOT-724;ca2c18e

Checklist

Anything else?

No response

commented

This is because LimitExtent currently does/can not act as a processor, so edits that are applied as Filters (i.e. setBlocks using ParallelQueueExtent) will not have several limit checks applied to them