diff options
| author | mat <git@matdoes.dev> | 2024-04-24 03:11:26 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-04-24 03:11:26 +0000 |
| commit | 79a0d58cc5e6528f570ad6a1f522bbf6bc2995ac (patch) | |
| tree | 11cef59ceebc17e6c31895753d95cbad06633f07 /azalea-entity/src/plugin/mod.rs | |
| parent | 3b635c1d6de97ccceaf725dbfcd1625cbebdc20b (diff) | |
| download | azalea-drasl-79a0d58cc5e6528f570ad6a1f522bbf6bc2995ac.tar.xz | |
fix warning when entities that didn't move chunks despawn
Diffstat (limited to 'azalea-entity/src/plugin/mod.rs')
| -rw-r--r-- | azalea-entity/src/plugin/mod.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/azalea-entity/src/plugin/mod.rs b/azalea-entity/src/plugin/mod.rs index 4b6d9979..de18cbd3 100644 --- a/azalea-entity/src/plugin/mod.rs +++ b/azalea-entity/src/plugin/mod.rs @@ -43,7 +43,12 @@ impl Plugin for EntityPlugin { .add_systems( Update, ( - (indexing::update_entity_chunk_positions).in_set(EntityUpdateSet::Index), + ( + indexing::update_entity_chunk_positions, + indexing::insert_entity_chunk_position, + ) + .chain() + .in_set(EntityUpdateSet::Index), ( relative_updates::debug_detect_updates_received_on_local_entities, debug_new_entity, |
