From 60ecfedf46e94344e6439a3a90c4c74ee65eeb2e Mon Sep 17 00:00:00 2001 From: nea Date: Thu, 4 May 2023 15:54:56 +0200 Subject: Add parents to collapisble entries --- src/main/kotlin/moe/nea/notenoughupdates/repo/ItemCache.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/main/kotlin/moe/nea/notenoughupdates/repo') diff --git a/src/main/kotlin/moe/nea/notenoughupdates/repo/ItemCache.kt b/src/main/kotlin/moe/nea/notenoughupdates/repo/ItemCache.kt index f243cfe..ae2b7d2 100644 --- a/src/main/kotlin/moe/nea/notenoughupdates/repo/ItemCache.kt +++ b/src/main/kotlin/moe/nea/notenoughupdates/repo/ItemCache.kt @@ -21,11 +21,10 @@ import net.minecraft.item.Items import net.minecraft.nbt.NbtCompound import net.minecraft.nbt.NbtOps import net.minecraft.text.Text -import net.minecraft.util.Identifier import moe.nea.notenoughupdates.NotEnoughUpdates -import moe.nea.notenoughupdates.mixins.accessor.AccessorDataFixTypes import moe.nea.notenoughupdates.util.LegacyTagParser import moe.nea.notenoughupdates.util.appendLore +import moe.nea.notenoughupdates.util.skyblockId object ItemCache : IReloadable { val dfuLog = Path.of("logs/dfulog.txt") @@ -91,8 +90,7 @@ object ItemCache : IReloadable { return s } - fun NEUItem.getIdentifier() = - Identifier("skyblockitem", skyblockItemId.lowercase().replace(";", "__")) + fun NEUItem.getIdentifier() = skyblockId.identifier var job: Job? = null -- cgit