From b9dba513e46758ec7d430b8d20029374f154fb22 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sun, 22 Oct 2023 12:19:15 +0700 Subject: [PATCH] =?UTF-8?q?YuRaNnNzZZ=20=E2=80=94=20=D0=A1=D0=B5=D0=B3?= =?UTF-8?q?=D0=BE=D0=B4=D0=BD=D1=8F,=20=D0=B2=2010:56=20=D0=BE=D0=BF=D1=8F?= =?UTF-8?q?=D1=82=D1=8C=20=D0=B2=D1=81=D1=91=20=D0=BF=D0=BE=D0=B4=D0=B1?= =?UTF-8?q?=D0=B8=D1=80=D0=B0=D0=B5=D1=82=D1=81=D1=8F=20=D0=B2=20=D0=BB?= =?UTF-8?q?=D0=B5=D0=B2=D1=83=D1=8E=20=D1=80=D1=83=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../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 fd72e1114..3b9a19e89 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/capability/MatteryPlayerCapability.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/capability/MatteryPlayerCapability.kt @@ -1382,7 +1382,7 @@ class MatteryPlayerCapability(val ply: Player) : ICapabilityProvider, INBTSerial 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 = offhandSlotRange, onlyIntoExisting = false, popTime = 5) + wrappedInventory.consumeItem(stack, false, slots = offhandSlotRange, onlyIntoExisting = true, popTime = 5) wrappedItemInventory.consumeItem(stack, false, onlyIntoExisting = false, popTime = 5) }