aboutsummaryrefslogtreecommitdiff
path: root/azalea-entity
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-entity')
-rw-r--r--azalea-entity/Cargo.toml8
-rw-r--r--azalea-entity/src/plugin/relative_updates.rs4
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.