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
commit3a7e4830e1874955a8f675bf76688995ffb4d67e (patch)
tree378dd9b799fcfeb250a180828b16e16c0abfc197
parent8e500250f1bba6cfed68e4e003263493c2e9a71a (diff)
downloadSkyHanni-3a7e4830e1874955a8f675bf76688995ffb4d67e.tar.gz
SkyHanni-3a7e4830e1874955a8f675bf76688995ffb4d67e.tar.bz2
SkyHanni-3a7e4830e1874955a8f675bf76688995ffb4d67e.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 {