From 325ea569894695186a69d5db2bcded25b1cf705a Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Thu, 8 Aug 2024 02:09:26 +0200 Subject: Fix coin count not updating in kat upgrade recipes --- src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/moe/nea/firmament/rei') diff --git a/src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt b/src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt index 3ad27e2..780fd78 100644 --- a/src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt +++ b/src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt @@ -66,7 +66,7 @@ data class SBItemStack( fun getStackSize() = stackSize fun setStackSize(newSize: Int) { - this.stackSize = stackSize + this.stackSize = newSize this.itemStack_ = null } -- cgit