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) {
|
class LegacyItemExporter private constructor(var itemStack: ItemStack) {
|
||||||
init {
|
init {
|
||||||
require(!itemStack.isEmpty)
|
require(!itemStack.isEmpty)
|
||||||
|
itemStack.count = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
var lore = itemStack.loreAccordingToNbt
|
var lore = itemStack.loreAccordingToNbt
|
||||||
|
|||||||
Reference in New Issue
Block a user