diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-17 15:48:32 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-17 15:48:59 +0200 |
commit | af8a6ff6d636c1957bb774bb6791f13cd390cc65 (patch) | |
tree | 5aa6409546d11caf46bf0789c297001f8114ad30 /src/main/java/at/hannibal2/skyhanni/utils | |
parent | 210acc597ffa1b1213ebd7482d03b13670e4cee5 (diff) | |
download | skyhanni-af8a6ff6d636c1957bb774bb6791f13cd390cc65.tar.gz skyhanni-af8a6ff6d636c1957bb774bb6791f13cd390cc65.tar.bz2 skyhanni-af8a6ff6d636c1957bb774bb6791f13cd390cc65.zip |
Added dev option to show item uuid in item lore
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt index 8d937956d..87308e495 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt @@ -139,6 +139,8 @@ object SkyBlockItemModifierUtils { fun ItemStack.getRecipientName() = getAttributeString("recipient_name") + fun ItemStack.getItemUuid() = getAttributeString("uuid") + fun ItemStack.getGemstones() = getExtraAttributes()?.let { val list = mutableListOf<GemstoneSlot>() for (attributes in it.keySet) { |