aboutsummaryrefslogtreecommitdiff
path: root/azalea-entity/src/plugin
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-11-06 18:04:48 -0600
committermat <git@matdoes.dev>2023-11-06 18:04:57 -0600
commitee55453fbf9a799e23cbca60e384f6adf3d11acf (patch)
tree94ffd6b431ade8434d4ed4bf6dbf7126d60d5a2b /azalea-entity/src/plugin
parent48b5d121718c98c3280e0945508324fc4527beec (diff)
downloadazalea-drasl-ee55453fbf9a799e23cbca60e384f6adf3d11acf.tar.xz
bevy 0.12
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.