1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-18 04:21:31 +02:00

Disabling exp as currency. Normal money will be used.

This commit is contained in:
snowleo
2011-12-13 07:35:46 +01:00
parent c70bff04b7
commit e021360613

View File

@@ -40,7 +40,8 @@ public class Trade
public Trade(final int exp, final IEssentials ess) 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) private Trade(final String command, final Double money, final ItemStack item, final Integer exp, final IEssentials ess)