FastAsyncWorldEdit icon indicating copy to clipboard operation
FastAsyncWorldEdit copied to clipboard

#mask pattern not working with anded by space masks

Open Lukasz825700516 opened this issue 2 years ago • 1 comments

Server Implementation

Paper

Server Version

1.19

Describe the bug

Complex masks like "air >pink_concrete" are not correctly parsed by fawe inside of #mask. I assume that #mask function parser (and maybe others) exits when it reaches space.

To Reproduce

  1. Select region
  2. /set "#mask[air >pink_concrete][green_concrete][red_concrete]"

Expected behaviour

"#mask[air >pink_concrete][green_concrete][red_concrete]" should correctly set green blocks above pink, everywhere else red.

Screenshots / Videos

No response

Error log (if applicable)

No response

Fawe Debugpaste

https://athion.net/ISPaster/paste/view/47264fe217cd4142a99f2bfa510a7184

Fawe Version

2.4.2-SNAPSHOT-247

Checklist

  • [X] I have included a Fawe debugpaste.
  • [X] I am using the newest build from https://ci.athion.net/job/FastAsyncWorldEdit/ and the issue still persists.

Anything else?

No response

Lukasz825700516 avatar Jul 23 '22 14:07 Lukasz825700516

When using & instead of mask is parsed correctly

Lukasz825700516 avatar Jul 23 '22 14:07 Lukasz825700516