summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-12-13 07:35:46 +0100
committersnowleo <schneeleo@gmail.com>2011-12-13 07:35:46 +0100
commite0213606131a16bb25fa8709ac1abe320e7e5ef9 (patch)
treeb966572fab7a499aa4b551902fbc8661c7ff3af5
parentc70bff04b7fc4c0d29ecf28e88cd6edaec6ea791 (diff)
downloadEssentials-e0213606131a16bb25fa8709ac1abe320e7e5ef9.tar
Essentials-e0213606131a16bb25fa8709ac1abe320e7e5ef9.tar.gz
Essentials-e0213606131a16bb25fa8709ac1abe320e7e5ef9.tar.lz
Essentials-e0213606131a16bb25fa8709ac1abe320e7e5ef9.tar.xz
Essentials-e0213606131a16bb25fa8709ac1abe320e7e5ef9.zip
Disabling exp as currency. Normal money will be used.
-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)