aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/notenoughupdates/repo
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-05-04 15:54:56 +0200
committernea <nea@nea.moe>2023-05-04 15:54:56 +0200
commit60ecfedf46e94344e6439a3a90c4c74ee65eeb2e (patch)
tree3bbc081ea1de971d343f438f12707909925d42fe /src/main/kotlin/moe/nea/notenoughupdates/repo
parent4053a2995e845b48fdaf584f7a6787cd1e4dd4bc (diff)
downloadfirmament-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.kt6
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