aboutsummaryrefslogtreecommitdiff
path: root/azalea-entity/src/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-entity/src/plugin')
-rw-r--r--azalea-entity/src/plugin/relative_updates.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-entity/src/plugin/relative_updates.rs b/azalea-entity/src/plugin/relative_updates.rs
index 4f7e478a..140c54e9 100644
--- a/azalea-entity/src/plugin/relative_updates.rs
+++ b/azalea-entity/src/plugin/relative_updates.rs
@@ -22,7 +22,7 @@ use bevy_ecs::{
prelude::{Component, Entity},
query::With,
system::{EntityCommand, Query},
- world::{EntityMut, World},
+ world::{EntityWorldMut, World},
};
use derive_more::{Deref, DerefMut};
use log::warn;
@@ -44,7 +44,7 @@ use crate::LocalEntity;
pub struct RelativeEntityUpdate {
pub partial_world: Arc<RwLock<PartialInstance>>,
// a function that takes the entity and updates it
- pub update: Box<dyn FnOnce(&mut EntityMut) + Send + Sync>,
+ pub update: Box<dyn FnOnce(&mut EntityWorldMut) + Send + Sync>,
}
/// A component that counts the number of times this entity has been modified.