mirror of
https://github.com/edgegamers/Gangs.git
synced 2025-12-06 04:42:56 -08:00
Remove debugs
This commit is contained in:
@@ -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."
|
||||
}
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user