diff options
| author | mat <git@matdoes.dev> | 2026-03-22 15:21:24 -0400 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-03-22 15:21:24 -0400 |
| commit | 41a9ae6aaff77646c08c64ac1334a8cc6081c24f (patch) | |
| tree | bca2459752a8c760553e250114a64e1dc4b394f4 | |
| parent | cac25feb6c43793a84396ac4a19e90df19d1f235 (diff) | |
| download | azalea-drasl-41a9ae6aaff77646c08c64ac1334a8cc6081c24f.tar.xz | |
fix tests
| -rw-r--r-- | azalea-physics/tests/physics.rs | 4 | ||||
| -rw-r--r-- | azalea/src/pathfinder/world.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/azalea-physics/tests/physics.rs b/azalea-physics/tests/physics.rs index 748cc7bc..0bec955d 100644 --- a/azalea-physics/tests/physics.rs +++ b/azalea-physics/tests/physics.rs @@ -181,7 +181,7 @@ fn test_slab_collision() { let block_state = partial_world.chunks.set_block_state( BlockPos { x: 0, y: 69, z: 0 }, azalea_block::blocks::StoneSlab { - kind: azalea_block::properties::Type::Bottom, + kind: azalea_block::properties::SlabKind::Bottom, waterlogged: false, } .into(), @@ -232,7 +232,7 @@ fn test_top_slab_collision() { let block_state = world_lock.write().chunks.set_block_state( BlockPos { x: 0, y: 69, z: 0 }, azalea_block::blocks::StoneSlab { - kind: azalea_block::properties::Type::Top, + kind: azalea_block::properties::SlabKind::Top, waterlogged: false, } .into(), diff --git a/azalea/src/pathfinder/world.rs b/azalea/src/pathfinder/world.rs index 87b62245..c3591bd7 100644 --- a/azalea/src/pathfinder/world.rs +++ b/azalea/src/pathfinder/world.rs @@ -15,7 +15,7 @@ use azalea_core::{ position::{BlockPos, ChunkPos, ChunkSectionBlockPos}, }; use azalea_physics::collision::BlockWithShape; -use azalea_registry::{builtin::BlockKind, tags}; +use azalea_registry::builtin::BlockKind; use azalea_world::{World, palette::PalettedContainer}; use parking_lot::RwLock; use rustc_hash::FxHashMap; |
