diff options
author | nea <nea@nea.moe> | 2023-06-03 19:58:34 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-06-03 19:58:34 +0200 |
commit | 3c437efa12d536cdc347895b3e37bc3f5acc0193 (patch) | |
tree | ce674eb1ad15cc2e56d9f194659bed088f5e23b1 /src/main/kotlin/moe/nea/firmament/rei/NEUItemEntrySerializer.kt | |
parent | d2d032ba05dd476d7edc0038f8a5f60f98769256 (diff) | |
download | firmament-3c437efa12d536cdc347895b3e37bc3f5acc0193.tar.gz firmament-3c437efa12d536cdc347895b3e37bc3f5acc0193.tar.bz2 firmament-3c437efa12d536cdc347895b3e37bc3f5acc0193.zip |
Add pet level data to /firm pv
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/rei/NEUItemEntrySerializer.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/rei/NEUItemEntrySerializer.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/rei/NEUItemEntrySerializer.kt b/src/main/kotlin/moe/nea/firmament/rei/NEUItemEntrySerializer.kt index bf59940..7d98558 100644 --- a/src/main/kotlin/moe/nea/firmament/rei/NEUItemEntrySerializer.kt +++ b/src/main/kotlin/moe/nea/firmament/rei/NEUItemEntrySerializer.kt @@ -34,7 +34,7 @@ object NEUItemEntrySerializer : EntrySerializer<SBItemStack> { override fun read(tag: NbtCompound): SBItemStack { val id = SkyblockId(tag.getString(SKYBLOCK_ID_ENTRY)) val count = if (tag.contains(SKYBLOCK_ITEM_COUNT)) tag.getInt(SKYBLOCK_ITEM_COUNT) else 1 - return SBItemStack(id, RepoManager.getNEUItem(id), count) + return SBItemStack(id, count) } override fun save(entry: EntryStack<SBItemStack>, value: SBItemStack): NbtCompound { |