From 5ead6193b4b01bd7db814d742afd602db63a0cc9 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Mon, 7 Jul 2025 12:28:35 +0200 Subject: fix(repo): item exporter stack size is now capped to 1 --- src/main/kotlin/features/debug/itemeditor/LegacyItemExporter.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/main/kotlin/features/debug/itemeditor/LegacyItemExporter.kt b/src/main/kotlin/features/debug/itemeditor/LegacyItemExporter.kt index 5fa57cc..ecf3d2c 100644 --- a/src/main/kotlin/features/debug/itemeditor/LegacyItemExporter.kt +++ b/src/main/kotlin/features/debug/itemeditor/LegacyItemExporter.kt @@ -41,6 +41,7 @@ import moe.nea.firmament.util.unformattedString class LegacyItemExporter private constructor(var itemStack: ItemStack) { init { require(!itemStack.isEmpty) + itemStack.count = 1 } var lore = itemStack.loreAccordingToNbt -- cgit