aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-29 11:06:06 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-29 11:06:06 +0200
commitebbfcdb60a86fcce451a79e1da4b35a999b5711f (patch)
tree378dd9b799fcfeb250a180828b16e16c0abfc197
parenta8d4373021634b5f55766b546b552d232d34b60d (diff)
downloadskyhanni-ebbfcdb60a86fcce451a79e1da4b35a999b5711f.tar.gz
skyhanni-ebbfcdb60a86fcce451a79e1da4b35a999b5711f.tar.bz2
skyhanni-ebbfcdb60a86fcce451a79e1da4b35a999b5711f.zip
Fixed bug that all SkyMart enchanted books gets displayed as Sunder instead of their actual name
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/SkyMartBestProfit.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/SkyMartBestProfit.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/SkyMartBestProfit.kt
index 4de998443..169fd900b 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/SkyMartBestProfit.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/SkyMartBestProfit.kt
@@ -50,7 +50,7 @@ class SkyMartBestProfit {
var name = stack.name!!
if (name == "§fEnchanted Book") {
- name = "§9Sunder I"
+ name = stack.getLore()[0]
}
NEUItems.getItemStackOrNull(internalName)?.let {