From 061d7a58f32d6a54962f8aa4747373e41de6914b Mon Sep 17 00:00:00 2001 From: PolyacovYury Date: Mon, 22 Jan 2024 18:04:16 +0300 Subject: [PATCH] fix Saw deleting items RE: https://github.com/Fabricators-of-Create/Porting-Lib/commit/f2b05e102427c0d59a0f35f47fade284d3987211 --- .../create/content/processing/recipe/ProcessingInventory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/content/processing/recipe/ProcessingInventory.java b/src/main/java/com/simibubi/create/content/processing/recipe/ProcessingInventory.java index 0ac6aed0b3..4f5cb593fa 100644 --- a/src/main/java/com/simibubi/create/content/processing/recipe/ProcessingInventory.java +++ b/src/main/java/com/simibubi/create/content/processing/recipe/ProcessingInventory.java @@ -82,7 +82,7 @@ public long extract(ItemVariant resource, long maxAmount, TransactionContext tra } @Override - public boolean isItemValid(int slot, ItemVariant resource) { + public boolean isItemValid(int slot, ItemVariant resource, int count) { return slot == 0 && isEmpty(); }