1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-21 14:03:54 +02:00

Make it compatible with Factions again.

This commit is contained in:
snowleo
2013-05-05 19:00:21 +03:00
parent 158e957eb7
commit c52c22a9e9

View File

@@ -45,6 +45,12 @@ public class Trade
this(command, fallback, null, null, null, ess);
}
@Deprecated
public Trade(final double money, final IEssentials ess)
{
this(null, null, BigDecimal.valueOf(money), null, null, ess);
}
public Trade(final BigDecimal money, final IEssentials ess)
{
this(null, null, money, null, null, ess);