From 5693191b57973136188bdade2144a69ac61a9f8a Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 27 Dec 2024 12:30:24 +0000 Subject: implement fluid_shape --- azalea-entity/src/plugin/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-entity/src/plugin/mod.rs') diff --git a/azalea-entity/src/plugin/mod.rs b/azalea-entity/src/plugin/mod.rs index 90d7f1c5..92918c69 100644 --- a/azalea-entity/src/plugin/mod.rs +++ b/azalea-entity/src/plugin/mod.rs @@ -104,7 +104,7 @@ pub fn update_fluid_on_eyes( .read() .get_fluid_state(&eye_block_pos) .unwrap_or_default(); - let fluid_cutoff_y = eye_block_pos.y as f64 + (fluid_at_eye.height as f64 / 16f64); + let fluid_cutoff_y = eye_block_pos.y as f64 + (fluid_at_eye.amount as f64 / 16f64); if fluid_cutoff_y > adjusted_eye_y { **fluid_on_eyes = fluid_at_eye.fluid; } else { -- cgit v1.2.3