fix(repo): item exporter stack size is now capped to 1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user