This commit is contained in:
Magnus Ulf 2019-01-25 11:12:42 +01:00
parent 79b0948344
commit c7ba58b9ab

View File

@ -196,7 +196,7 @@ public class MoneyMixinVault extends MoneyMixinAbstract
// Subtract From
if (fromId != null)
{
EconomyResponse response = opTo != null ? economy.withdrawPlayer(opFrom, amount) : economy.withdrawPlayer(nameFrom, amount);
EconomyResponse response = opFrom != null ? economy.withdrawPlayer(opFrom, amount) : economy.withdrawPlayer(nameFrom, amount);
if (!response.transactionSuccess())
{
return false;