chore: Remove Redundant Clippy Allows (#1247)

* switch to btreemap to comply with lint

* amplifier i32 -> u8

* switch allow to expect lint

* remove many many unnecessary clippy lints

* dont use expect inside quotes
This commit is contained in:
Clicks
2025-12-30 12:16:31 +01:00
committed by GitHub
parent b84e2e7153
commit 70b3132396
76 changed files with 83 additions and 123 deletions

View File

@@ -121,7 +121,6 @@ impl ScreenHandler for PlayerScreenHandler {
.map_or(&EquipmentSlot::MAIN_HAND, |equippable| equippable.slot);
// Quick move logic
#[allow(clippy::if_same_then_else)]
let success = if slot_index == 0 {
// From crafting result slot (0) -> Player Inventory (9-45, from end)
self.insert_item(&mut slot_stack, 9, 45, true).await