Remove debugs

This commit is contained in:
MSWS
2024-12-24 04:24:14 -08:00
parent 93737740f6
commit 70e9eae094
2 changed files with 1 additions and 3 deletions

View File

@@ -118,5 +118,5 @@
"math.query": "%prefix%Pop Math Quiz! {darkblue}[%color.currency%{0} %currency%%s%{darkblue}]",
"math.queryline": "%prefix%{green}{0} {purple}= {green}%color.special%??",
"math.answered": "%prefix%%color.target%{0}%color.default% got the correct answer of %color.number%{1}%color.default% and won %color.currency%{2} %currency%%s%%color.default%!",
"math.timeout": "%prefix%No one got the correct answer of %color.special%{0}%color.default% in time."
"math.timeout": "%prefix%No one got the correct answer of %color.number%{0}%color.default% in time."
}

View File

@@ -59,8 +59,6 @@ public class EquationBuilder {
public double Evaluate() {
var expr = new Expression(Equation.Replace(" ", ""));
Server.PrintToChatAll(
$"Evaluating {Equation.Replace(" ", "")}, result: {expr.Evaluate()}");
return Convert.ToDouble(expr.Evaluate());
}