From c41488139136c213fd5d799523da5f318a0014a2 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 27 Nov 2024 16:06:52 +0100 Subject: feat: Add item type function --- src/main/kotlin/util/skyblock/AbilityUtils.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/kotlin/util/skyblock/AbilityUtils.kt') 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 { return getAbilities(itemStack.loreAccordingToNbt) } -- cgit