summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Essentials/src/com/earth2me/essentials/Trade.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Trade.java b/Essentials/src/com/earth2me/essentials/Trade.java
index 8ca6ede1b..5e9f82b88 100644
--- a/Essentials/src/com/earth2me/essentials/Trade.java
+++ b/Essentials/src/com/earth2me/essentials/Trade.java
@@ -40,7 +40,8 @@ public class Trade
public Trade(final int exp, final IEssentials ess)
{
- this(null, null, null, exp, ess);
+ //TODO: Revert this change, when exp is fixed in Bukkit
+ this(null, (double)exp, null, null, ess);
}
private Trade(final String command, final Double money, final ItemStack item, final Integer exp, final IEssentials ess)