diff options
| author | mat <git@matdoes.dev> | 2024-12-27 12:30:24 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-12-27 12:35:25 +0000 |
| commit | 5693191b57973136188bdade2144a69ac61a9f8a (patch) | |
| tree | d60611362019bc4134404ff62104743884efe4e2 /azalea-entity/src/plugin | |
| parent | 04036b6e4afe1e3eb59cd861a871e17ea5680f5f (diff) | |
| download | azalea-drasl-5693191b57973136188bdade2144a69ac61a9f8a.tar.xz | |
implement fluid_shape
Diffstat (limited to 'azalea-entity/src/plugin')
| -rw-r--r-- | azalea-entity/src/plugin/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
