diff options
| author | mat <git@matdoes.dev> | 2025-02-02 21:17:28 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-02-02 21:17:28 +0000 |
| commit | 8d110a9f7c568fd52fc6c213d707206287311319 (patch) | |
| tree | 6dfed16120460fd726a09a779c5a1387cfa0baf1 /azalea-entity/src | |
| parent | b08d3d55d7351eff6e27a09d732078c038539958 (diff) | |
| download | azalea-drasl-8d110a9f7c568fd52fc6c213d707206287311319.tar.xz | |
cleanup, fix warnings
Diffstat (limited to 'azalea-entity/src')
| -rw-r--r-- | azalea-entity/src/enchantments.rs | 2 | ||||
| -rw-r--r-- | azalea-entity/src/mining.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/azalea-entity/src/enchantments.rs b/azalea-entity/src/enchantments.rs index fd238bf2..d51cf752 100644 --- a/azalea-entity/src/enchantments.rs +++ b/azalea-entity/src/enchantments.rs @@ -1,4 +1,4 @@ -pub fn get_enchant_level( +pub fn _get_enchant_level( _enchantment: azalea_registry::Enchantment, _player_inventory: &azalea_inventory::Menu, ) -> u32 { diff --git a/azalea-entity/src/mining.rs b/azalea-entity/src/mining.rs index e118032d..b17cddf0 100644 --- a/azalea-entity/src/mining.rs +++ b/azalea-entity/src/mining.rs @@ -76,8 +76,8 @@ fn has_correct_tool_for_drops(block: &dyn Block, tool: registry::Item) -> bool { fn destroy_speed( block: registry::Block, tool: registry::Item, - player_inventory: &azalea_inventory::Menu, - fluid_on_eyes: &FluidOnEyes, + _player_inventory: &azalea_inventory::Menu, + _fluid_on_eyes: &FluidOnEyes, physics: &Physics, ) -> f32 { let mut base_destroy_speed = base_destroy_speed(block, tool); |
