mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-03 06:37:47 +01:00
MATH%..% now returns all decimal places of resulting formula
This commit is contained in:
parent
c9cd7727ae
commit
7c27b76d1c
@ -295,7 +295,7 @@ public class LoreBuilder extends Buildable<List<String>> {
|
||||
@Deprecated
|
||||
private String evaluate(String formula) {
|
||||
try {
|
||||
return MythicLib.plugin.getMMOConfig().decimals.format(NumericalExpression.eval(formula));
|
||||
return String.valueOf(NumericalExpression.eval(formula));
|
||||
} catch (Throwable throwable) {
|
||||
return "<ParsingError>";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user