aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/notenoughupdates/rei/SBItemEntryDefinition.kt
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/rei/SBItemEntryDefinition.kt
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/rei/SBItemEntryDefinition.kt')
-rw-r--r--src/main/kotlin/moe/nea/notenoughupdates/rei/SBItemEntryDefinition.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/notenoughupdates/rei/SBItemEntryDefinition.kt b/src/main/kotlin/moe/nea/notenoughupdates/rei/SBItemEntryDefinition.kt
index a9d4a7c..90d5931 100644
--- a/src/main/kotlin/moe/nea/notenoughupdates/rei/SBItemEntryDefinition.kt
+++ b/src/main/kotlin/moe/nea/notenoughupdates/rei/SBItemEntryDefinition.kt
@@ -68,5 +68,7 @@ object SBItemEntryDefinition : EntryDefinition<NEUItem> {
return value?.getIdentifier() ?: Identifier.of("skyblockitem", "null")!!
}
+ fun getEntry(neuItem: NEUItem?) = EntryStack.of(this, neuItem)
+
}