Fixed compile error

This commit is contained in:
Jules 2023-05-15 00:14:35 +02:00
parent df5c8e4791
commit 516f286d66

View File

@ -158,7 +158,7 @@ public class LoreBuilder {
String result; String result;
try { 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) { } catch (Exception ignored) {
result = "<InvalidFormula>"; result = "<InvalidFormula>";
} }