if (expr != null)
{
double result;
try
{
VarMap vm = new VarMap();
vm.setValue("adena", activeChar.getAdena());
result = expr.eval(vm, null);
activeChar.sendMessage(expression);
activeChar.sendMessage("=" + Util.formatDouble(result, "NaN", false));
}
catch (Exception ignored)