aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/inventory.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src/plugins/inventory.rs')
-rw-r--r--azalea-client/src/plugins/inventory.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/azalea-client/src/plugins/inventory.rs b/azalea-client/src/plugins/inventory.rs
index 8efc0e71..1662be9f 100644
--- a/azalea-client/src/plugins/inventory.rs
+++ b/azalea-client/src/plugins/inventory.rs
@@ -950,11 +950,7 @@ mod tests {
#[test]
fn test_simulate_shift_click_in_crafting_table() {
- let spruce_planks = ItemStack::Present(ItemStackData {
- count: 4,
- kind: Item::SprucePlanks,
- components: Default::default(),
- });
+ let spruce_planks = ItemStack::new(Item::SprucePlanks, 4);
let mut inventory = Inventory {
inventory_menu: Menu::Player(azalea_inventory::Player::default()),