diff options
| -rw-r--r-- | azalea-block/src/lib.rs | 4 | ||||
| -rw-r--r-- | azalea-physics/tests/physics.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/azalea-block/src/lib.rs b/azalea-block/src/lib.rs index 9f39f471..60849b83 100644 --- a/azalea-block/src/lib.rs +++ b/azalea-block/src/lib.rs @@ -118,11 +118,11 @@ mod tests { pub fn test_integer_properties() { // Test with oak sapling that has an integer-like stage property let sapling_stage_0 = crate::blocks::OakSapling { - stage: crate::properties::OakSaplingStage::_0, + stage: crate::properties::Stage::_0, }; let sapling_stage_1 = crate::blocks::OakSapling { - stage: crate::properties::OakSaplingStage::_1, + stage: crate::properties::Stage::_1, }; // Test stage 0 diff --git a/azalea-physics/tests/physics.rs b/azalea-physics/tests/physics.rs index 8359e05e..748cc7bc 100644 --- a/azalea-physics/tests/physics.rs +++ b/azalea-physics/tests/physics.rs @@ -440,9 +440,9 @@ fn test_afk_pool() { .set_block_state(BlockPos { x, y, z }, b); }; - let stone = azalea_block::blocks::Stone {}.into(); + let stone = azalea_block::blocks::Stone.into(); let sign = azalea_block::blocks::OakSign { - rotation: azalea_block::properties::OakSignRotation::_0, + rotation: azalea_block::properties::Rotation::_0, waterlogged: false, } .into(); |
