mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-02 06:27:42 +01:00
Fixed compile error
This commit is contained in:
parent
df5c8e4791
commit
516f286d66
@ -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