aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils
diff options
context:
space:
mode:
authorThunderblade73 <85900443+Thunderblade73@users.noreply.github.com>2024-07-17 12:42:27 +0200
committerGitHub <noreply@github.com>2024-07-17 12:42:27 +0200
commit81358be1e6fe2ba1de02afcd2d08a969679bd14a (patch)
tree55ef8fa79c36f9a21b338e59d46b81b7bf2c3975 /src/main/java/at/hannibal2/skyhanni/utils
parentfb7384530a123d2b6159afb0ca16db658eaa26b5 (diff)
downloadskyhanni-81358be1e6fe2ba1de02afcd2d08a969679bd14a.tar.gz
skyhanni-81358be1e6fe2ba1de02afcd2d08a969679bd14a.tar.bz2
skyhanni-81358be1e6fe2ba1de02afcd2d08a969679bd14a.zip
Feature: Crown of Avarice Counter (#2229)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
index 5bafb370a..3f8441629 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
@@ -46,6 +46,8 @@ object ItemUtils {
return list
}
+ val ItemStack.extraAttributes : NBTTagCompound get() = this.tagCompound.getCompoundTag("ExtraAttributes")
+
// TODO change else janni is sad
fun ItemStack.isCoopSoulBound(): Boolean =
getLore().any {