aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2023-11-21 17:04:08 +0100
committerGitHub <noreply@github.com>2023-11-21 17:04:08 +0100
commitc9dcfa040934df376e1bab2c893b466f2323829c (patch)
tree76c5a1ae7f435deea6916abe03a2f1a9ec036238 /src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt
parent4265f7c57aa4f31eb2b95c9c21a46c7bd0f02dc1 (diff)
downloadskyhanni-c9dcfa040934df376e1bab2c893b466f2323829c.tar.gz
skyhanni-c9dcfa040934df376e1bab2c893b466f2323829c.tar.bz2
skyhanni-c9dcfa040934df376e1bab2c893b466f2323829c.zip
Added Bookworm Book to the Estimated Item Value feature (#722)
Added Bookworm Book to the Estimated Item Value feature. #722
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt2
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 8d600f70e..9f65a71f1 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt
@@ -26,6 +26,8 @@ object SkyBlockItemModifierUtils {
fun ItemStack.getPolarvoidBookCount() = getAttributeInt("polarvoid")
+ fun ItemStack.getBookwormBookCount() = getAttributeInt("bookworm_books")
+
fun ItemStack.getCultivatingCounter() = getAttributeLong("farmed_cultivating")
fun ItemStack.getHoeCounter() = getAttributeLong("mined_crops")