From 18965ccfc79cdb38a2d38a260ac45b5eae100cc0 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Mon, 1 Jan 2024 16:50:37 +0700 Subject: [PATCH] god damn it --- .../ru/dbotthepony/mc/otm/capability/MatteryPlayerCapability.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/capability/MatteryPlayerCapability.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/capability/MatteryPlayerCapability.kt index 612fc76d2..cddfee6e0 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/capability/MatteryPlayerCapability.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/capability/MatteryPlayerCapability.kt @@ -1393,7 +1393,7 @@ class MatteryPlayerCapability(val ply: Player) : ICapabilityProvider, INBTSerial combinedInventory.consumeItem(stack, false, slots = offhandSlotRange, onlyIntoExisting = true, popTime = 5) inventoryAndExopack.consumeItem(stack, false, onlyIntoExisting = false, popTime = 5) } else { - wrappedInventory.consumeItem(stack, false, slots = IntSet.of(ply.inventory.selected), onlyIntoExisting = false, popTime = 5) + wrappedInventory.consumeItem(stack, false, slots = IntSet.of(ply.inventory.selected), onlyIntoExisting = true, popTime = 5) wrappedInventory.consumeItem(stack, false, slots = offhandSlotRange, onlyIntoExisting = true, popTime = 5) wrappedItemInventory.consumeItem(stack, false, onlyIntoExisting = false, popTime = 5) }