[trunk] cleanup debug messaging

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1369 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
ementalo 2011-05-08 13:03:03 +00:00
parent e4c79cf895
commit 840ce9c190

View file

@ -176,7 +176,7 @@ public class EssentialsEcoPlayerListener extends PlayerListener
r1 += q1;
r2 -= q2;
user.sendMessage("r1 = " + Util.roundDouble(r1) + "r2 = " + Util.roundDouble(r2));
sign.setLine(0, "§1[Trade]");
sign.setLine(1, (m1 ? Util.formatCurrency(q1) : String.format("%.0f", q1) + " " + l1[1]) + ":" + String.format((m1 ? "%.2f" : "%.0f"), Util.roundDouble(r1)));