mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-22 04:37:42 +01:00
Modification for ML FormulaParser.
This commit is contained in:
parent
d619c4b004
commit
7f8afdff65
@ -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>";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user