Skip to content

#averagecolor Incomplete result with IndexOutOfBoundsException #3392

@braceyourself07

Description

@braceyourself07

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

  1. Select a somewhat large, flat area, freshly loaded in (e.g. after running /plot auto)
  2. //r #averagecolor[0][255][255][255]
    Sometimes but not always, the command will result in the error and produce an incomplete result.
Image

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.

Image After //undo then running the same command

Expected behaviour

Should produce a uniform result and sometimes does on first try, but not always.

Image

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

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Requires TestingThis is a new issue which needs to be approved before labeled with "bug"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions