aboutsummaryrefslogtreecommitdiff
path: root/azalea-physics/src
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2024-02-22 22:41:54 -0600
committermat <git@matdoes.dev>2024-02-22 22:41:54 -0600
commit038807e607c55757b3d9a9d51f0b9e65a781772b (patch)
treef162c7397e7ff17f2c7cb1f3fde7178dea60b645 /azalea-physics/src
parent69f7eebcb300bbefdc8b10c191a09db250bde630 (diff)
downloadazalea-drasl-038807e607c55757b3d9a9d51f0b9e65a781772b.tar.xz
fix for hypixel limbo
Diffstat (limited to 'azalea-physics/src')
-rwxr-xr-xazalea-physics/src/collision/mergers.rs2
-rw-r--r--azalea-physics/src/lib.rs3
2 files changed, 2 insertions, 3 deletions
diff --git a/azalea-physics/src/collision/mergers.rs b/azalea-physics/src/collision/mergers.rs
index 5744084e..69ae2ab5 100755
--- a/azalea-physics/src/collision/mergers.rs
+++ b/azalea-physics/src/collision/mergers.rs
@@ -1,4 +1,4 @@
-use std::{cmp::Ordering, convert::TryInto};
+use std::cmp::Ordering;
use super::CubePointRange;
use azalea_core::math::{gcd, lcm, EPSILON};
diff --git a/azalea-physics/src/lib.rs b/azalea-physics/src/lib.rs
index 55f54ccd..ed813b56 100644
--- a/azalea-physics/src/lib.rs
+++ b/azalea-physics/src/lib.rs
@@ -424,10 +424,9 @@ fn jump_boost_power() -> f64 {
mod tests {
use super::*;
- use azalea_core::{position::ChunkPos, resource_location::ResourceLocation, tick::GameTick};
+ use azalea_core::{position::ChunkPos, resource_location::ResourceLocation};
use azalea_entity::{EntityBundle, EntityPlugin};
use azalea_world::{Chunk, MinecraftEntityId, PartialInstance};
- use bevy_app::App;
use uuid::Uuid;
/// You need an app to spawn entities in the world and do updates.