diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/AnitaMedalProfit.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/AnitaMedalProfit.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/AnitaMedalProfit.kt index d5c279fc9..79e15eed8 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/AnitaMedalProfit.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/AnitaMedalProfit.kt @@ -6,6 +6,7 @@ import at.hannibal2.skyhanni.events.GuiRenderEvent import at.hannibal2.skyhanni.events.InventoryCloseEvent import at.hannibal2.skyhanni.events.InventoryFullyOpenedEvent import at.hannibal2.skyhanni.features.garden.visitor.VisitorAPI +import at.hannibal2.skyhanni.test.command.ErrorManager import at.hannibal2.skyhanni.utils.ItemUtils import at.hannibal2.skyhanni.utils.ItemUtils.getInternalName import at.hannibal2.skyhanni.utils.ItemUtils.getLore @@ -56,8 +57,7 @@ class AnitaMedalProfit { try { readItem(item, table) } catch (e: Throwable) { - LorenzUtils.error("Error in AnitaMedalProfit while reading item '$item'") - e.printStackTrace() + ErrorManager.logError(e, "Error in AnitaMedalProfit while reading item '$item'") } } @@ -153,4 +153,4 @@ class AnitaMedalProfit { event.move(3,"garden.anitaMedalProfitEnabled", "garden.anitaShop.medalProfitEnabled") event.move(3,"garden.anitaMedalProfitPos", "garden.anitaShop.medalProfitPos") } -}
\ No newline at end of file +} |