azalea icon indicating copy to clipboard operation
azalea copied to clipboard

Removing entity from Chunk it's not in

Open ProfessorQu opened this issue 11 months ago • 2 comments

When an entity goes outside the render distance of the bot while another player is present it will occasionally trigger this warning message:

WARN azalea_entity::plugin::indexing: Tried to remove entity 3v3 from chunk ChunkPos { x: 0, z: 0 } but the entity was not there.

The warning comes from this line. It triggers in the cases of:

  • A creature or player (including itself) dies.
  • A creature or player goes outside the render distance (at least vertically as far as I've tested).

It's not a huge deal but I saw it and thought I'd see what I could come up with.

ProfessorQu avatar Mar 15 '24 19:03 ProfessorQu

Actually it spams a lot of these.

SzczurekYT avatar Mar 16 '24 09:03 SzczurekYT

Yeah it seems to scale with the number of entities, so in a normal world it spams it a bunch, but in a void world it just does it once for each entity that goes out of range or dies

ProfessorQu avatar Mar 16 '24 14:03 ProfessorQu