From 516f286d66256795aee895f7224b9cf042fbc00c Mon Sep 17 00:00:00 2001 From: Jules Date: Mon, 15 May 2023 00:14:35 +0200 Subject: [PATCH] Fixed compile error --- .../java/net/Indyuce/mmoitems/api/item/build/LoreBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MMOItems-API/src/main/java/net/Indyuce/mmoitems/api/item/build/LoreBuilder.java b/MMOItems-API/src/main/java/net/Indyuce/mmoitems/api/item/build/LoreBuilder.java index c04cf656..0dc97c66 100644 --- a/MMOItems-API/src/main/java/net/Indyuce/mmoitems/api/item/build/LoreBuilder.java +++ b/MMOItems-API/src/main/java/net/Indyuce/mmoitems/api/item/build/LoreBuilder.java @@ -158,7 +158,7 @@ public class LoreBuilder { String result; try { - result = MythicLib.plugin.getMMOConfig().decimals.format((double) MythicLib.plugin.getInterpreter().eval(match)); + result = MythicLib.plugin.getMMOConfig().decimals.format((double) MythicLib.plugin.getFormulaParser().eval(match)); } catch (Exception ignored) { result = ""; }