aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azalea-physics/tests/physics.rs4
-rw-r--r--azalea/src/pathfinder/world.rs2
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;