From 51963990bc0cbbbca388b2ed015fd64ff6492d7b Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 18 Sep 2023 23:25:18 -0500 Subject: fix entities not always being despawned after merge --- azalea-core/src/delta.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-core/src') diff --git a/azalea-core/src/delta.rs b/azalea-core/src/delta.rs index ce49ab50..05bf662a 100755 --- a/azalea-core/src/delta.rs +++ b/azalea-core/src/delta.rs @@ -40,7 +40,7 @@ impl PositionDeltaTrait for PositionDelta8 { impl Vec3 { #[must_use] - pub fn with_delta(&self, delta: &dyn PositionDeltaTrait) -> Vec3 { + pub fn with_delta(&self, delta: &impl PositionDeltaTrait) -> Vec3 { Vec3 { x: self.x + delta.x(), y: self.y + delta.y(), -- cgit v1.2.3