IntellectualSites / IntellectualSites/FastAsyncWorldEdit
#averagecolor Incomplete result with IndexOutOfBoundsException
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 806
- Forks
- 394
- Avg merge
- 22h 19m
- Merged PRs (30d)
- 14
Description
Server Implementation
Paper
Server Version
1.21.8
Describe the bug
running the average color pattern with //replace doesn't produce intended result, several chunks are missing (when this happens it appears to be random).
To Reproduce
- Select a somewhat large, flat area, freshly loaded in (e.g. after running /plot auto)
//r #averagecolor[0][255][255][255]
Sometimes but not always, the command will result in the error and produce an incomplete result.
Corresponding to this is this stacktrace
https://i.rudyops.com/nAVa2/Nowenepi73.txt
It seems like after you fly around a bit, you can //undo the incomplete result and run the same command again and it will work fine. Sometimes it results in the IndexOutOfBoundsException error.
Expected behaviour
Should produce a uniform result and sometimes does on first try, but not always.
Screenshots / Videos
No response
Error log (if applicable)
https://i.rudyops.com/nAVa2/Nowenepi73.txt
Fawe Debugpaste
https://athion.net/ISPaster/paste/view/4ed1832a877540d5ac01e00416fc3987
Fawe Version
Build 1228
Checklist
- I have included a Fawe debugpaste.
- I am using the newest build from https://ci.athion.net/job/FastAsyncWorldEdit/ and the issue still persists.
Anything else?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing //r #averagecolor[0][255][255][255] on a freshly loaded, large flat area, then inspect the linked stacktrace and FAWE debugpaste. Done means the command no longer raises IndexOutOfBoundsException and produces a complete, uniform result on the first run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100