From ebbfcdb60a86fcce451a79e1da4b35a999b5711f Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 29 Mar 2023 11:06:06 +0200 Subject: Fixed bug that all SkyMart enchanted books gets displayed as Sunder instead of their actual name --- .../java/at/hannibal2/skyhanni/features/garden/SkyMartBestProfit.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { -- cgit