diff options
Diffstat (limited to 'azalea-world/src/entity')
| -rw-r--r-- | azalea-world/src/entity/metadata.rs | 2 | ||||
| -rw-r--r-- | azalea-world/src/entity/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/azalea-world/src/entity/metadata.rs b/azalea-world/src/entity/metadata.rs index c95d8c3a..3d6c52c8 100644 --- a/azalea-world/src/entity/metadata.rs +++ b/azalea-world/src/entity/metadata.rs @@ -2368,7 +2368,7 @@ impl Default for EndermanMetadataBundle { }, }, }, - carry_state: CarryState(BlockState::Air), + carry_state: CarryState(BlockState::AIR), creepy: Creepy(false), stared_at: StaredAt(false), } diff --git a/azalea-world/src/entity/mod.rs b/azalea-world/src/entity/mod.rs index 0d0449ac..9b1191fb 100644 --- a/azalea-world/src/entity/mod.rs +++ b/azalea-world/src/entity/mod.rs @@ -94,7 +94,7 @@ pub fn on_pos(offset: f32, chunk_storage: &ChunkStorage, pos: &Position) -> Bloc // TODO: check if block below is a fence, wall, or fence gate let block_pos = pos.down(1); let block_state = chunk_storage.get_block_state(&block_pos); - if block_state == Some(BlockState::Air) { + if block_state == Some(BlockState::AIR) { let block_pos_below = block_pos.down(1); let block_state_below = chunk_storage.get_block_state(&block_pos_below); if let Some(_block_state_below) = block_state_below { |
