fix(repo): item exporter stack size is now capped to 1

This commit is contained in:
Linnea Gräf
2025-07-07 12:28:35 +02:00
parent 965bf944ba
commit 5ead6193b4

View File

@@ -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