Modification for ML FormulaParser.

This commit is contained in:
Ka0rX 2023-05-06 13:36:16 +01:00
parent d619c4b004
commit 7f8afdff65

View File

@ -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 = "<InvalidFormula>";
}