aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/util/skyblock/AbilityUtils.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-11-27 16:06:52 +0100
committerLinnea Gräf <nea@nea.moe>2024-11-27 16:06:52 +0100
commitc41488139136c213fd5d799523da5f318a0014a2 (patch)
tree7ac8ab40bf7e8bd289c6c081f9d65c3f4749aed1 /src/main/kotlin/util/skyblock/AbilityUtils.kt
parentee0526ac67e093f77d17747d9316765b2db272a2 (diff)
downloadFirmament-c41488139136c213fd5d799523da5f318a0014a2.tar.gz
Firmament-c41488139136c213fd5d799523da5f318a0014a2.tar.bz2
Firmament-c41488139136c213fd5d799523da5f318a0014a2.zip
feat: Add item type function
Diffstat (limited to 'src/main/kotlin/util/skyblock/AbilityUtils.kt')
-rw-r--r--src/main/kotlin/util/skyblock/AbilityUtils.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/util/skyblock/AbilityUtils.kt b/src/main/kotlin/util/skyblock/AbilityUtils.kt
index 0f0adbe..0d7d2b7 100644
--- a/src/main/kotlin/util/skyblock/AbilityUtils.kt
+++ b/src/main/kotlin/util/skyblock/AbilityUtils.kt
@@ -131,6 +131,7 @@ object AbilityUtils {
return abilities
}
+ // TODO: memoize
fun getAbilities(itemStack: ItemStack): List<ItemAbility> {
return getAbilities(itemStack.loreAccordingToNbt)
}