diff options
| author | mat <git@matdoes.dev> | 2023-11-06 18:04:48 -0600 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-11-06 18:04:57 -0600 |
| commit | ee55453fbf9a799e23cbca60e384f6adf3d11acf (patch) | |
| tree | 94ffd6b431ade8434d4ed4bf6dbf7126d60d5a2b /azalea-entity | |
| parent | 48b5d121718c98c3280e0945508324fc4527beec (diff) | |
| download | azalea-drasl-ee55453fbf9a799e23cbca60e384f6adf3d11acf.tar.xz | |
bevy 0.12
Diffstat (limited to 'azalea-entity')
| -rw-r--r-- | azalea-entity/Cargo.toml | 8 | ||||
| -rw-r--r-- | azalea-entity/src/plugin/relative_updates.rs | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/azalea-entity/Cargo.toml b/azalea-entity/Cargo.toml index 3cb85f77..7cde8c71 100644 --- a/azalea-entity/Cargo.toml +++ b/azalea-entity/Cargo.toml @@ -17,12 +17,12 @@ azalea-inventory = { version = "0.8.0", path = "../azalea-inventory" } azalea-nbt = { version = "0.8.0", path = "../azalea-nbt" } azalea-registry = { version = "0.8.0", path = "../azalea-registry" } azalea-world = { version = "0.8.0", path = "../azalea-world" } -bevy_app = "0.11.3" -bevy_ecs = "0.11.3" +bevy_app = "0.12.0" +bevy_ecs = "0.12.0" derive_more = "0.99.17" enum-as-inner = "0.6.0" log = "0.4.20" nohash-hasher = "0.2.0" parking_lot = "0.12.1" -thiserror = "1.0.49" -uuid = "1.4.1" +thiserror = "1.0.50" +uuid = "1.5.0" 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. |
