aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt3
1 files changed, 3 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 5104c52b3..01d049dcb 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
@@ -381,6 +381,9 @@ object ItemUtils {
if (name.endsWith("Enchanted Book")) {
return itemStack.getLore()[0]
}
+ if (name.endsWith("Enchanted Book Bundle")) {
+ return name.replace("Enchanted Book", itemStack.getLore()[0].removeColor())
+ }
// hide pet level
PetAPI.getCleanName(name)?.let {