From 78e8a6d36e91f44ea2011833033c510fc6606310 Mon Sep 17 00:00:00 2001 From: Trever Fischer Date: Sat, 10 Nov 2012 13:15:55 -0500 Subject: [PATCH] Fix negative math with monies --- src/main/java/us/camin/EconomyAPI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/us/camin/EconomyAPI.java b/src/main/java/us/camin/EconomyAPI.java index deaf059..226b25b 100644 --- a/src/main/java/us/camin/EconomyAPI.java +++ b/src/main/java/us/camin/EconomyAPI.java @@ -84,7 +84,7 @@ public class EconomyAPI implements Economy { private EconomyResponse adjustPlayer(String playerName, double amount) { BalanceAdjustResponse resp; try { - resp = m_p.api().adjustBalance(playerName, -amount); + resp = m_p.api().adjustBalance(playerName, amount); } catch (IOException e) { return new EconomyResponse(0, 0, ResponseType.FAILURE, "Could not contact api.camin.us."); }