diff options
author | nea <nea@nea.moe> | 2023-05-04 15:54:56 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-05-04 15:54:56 +0200 |
commit | 60ecfedf46e94344e6439a3a90c4c74ee65eeb2e (patch) | |
tree | 3bbc081ea1de971d343f438f12707909925d42fe /src/main/kotlin/moe/nea/notenoughupdates/repo | |
parent | 4053a2995e845b48fdaf584f7a6787cd1e4dd4bc (diff) | |
download | Firmament-60ecfedf46e94344e6439a3a90c4c74ee65eeb2e.tar.gz Firmament-60ecfedf46e94344e6439a3a90c4c74ee65eeb2e.tar.bz2 Firmament-60ecfedf46e94344e6439a3a90c4c74ee65eeb2e.zip |
Add parents to collapisble entries
Diffstat (limited to 'src/main/kotlin/moe/nea/notenoughupdates/repo')
-rw-r--r-- | src/main/kotlin/moe/nea/notenoughupdates/repo/ItemCache.kt | 6 |
1 files changed, 2 insertions, 4 deletions
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 |