diff options
author | Linnea Gräf <nea@nea.moe> | 2025-07-07 12:28:35 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2025-07-07 12:28:35 +0200 |
commit | 5ead6193b4b01bd7db814d742afd602db63a0cc9 (patch) | |
tree | 2f76be6a50df3ab4c674be8edcf4a0c9d06ae587 /src | |
parent | 965bf944ba567bf2af3cc36bd578ab26a9988aaf (diff) | |
download | Firmament-5ead6193b4b01bd7db814d742afd602db63a0cc9.tar.gz Firmament-5ead6193b4b01bd7db814d742afd602db63a0cc9.tar.bz2 Firmament-5ead6193b4b01bd7db814d742afd602db63a0cc9.zip |
fix(repo): item exporter stack size is now capped to 1
Diffstat (limited to 'src')
-rw-r--r-- | src/main/kotlin/features/debug/itemeditor/LegacyItemExporter.kt | 1 |
1 files changed, 1 insertions, 0 deletions
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 |