diff options
Diffstat (limited to 'azalea-entity/src/plugin')
| -rw-r--r-- | azalea-entity/src/plugin/mod.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/azalea-entity/src/plugin/mod.rs b/azalea-entity/src/plugin/mod.rs index 03afe7cd..6a6c9615 100644 --- a/azalea-entity/src/plugin/mod.rs +++ b/azalea-entity/src/plugin/mod.rs @@ -46,6 +46,11 @@ impl Plugin for EntityPlugin { Update, ( ( + // remove_despawned_entities_from_indexes is done again here to correctly + // handle the case where an entity is spawned and then the world is removed at + // the same time (like with ClientboundStartConfiguration). + indexing::remove_despawned_entities_from_indexes + .in_set(EntityUpdateSet::Deindex), indexing::update_entity_chunk_positions, indexing::insert_entity_chunk_position, ) |
