mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-30 20:14:23 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user