Economy payments for command usage no longer ignores "bankEnabled" setting

This commit is contained in:
Brettflan 2011-12-16 00:24:55 -06:00
parent 5ca330ad11
commit 86f80f0421

View File

@ -318,7 +318,7 @@ public abstract class FCommand extends MCommand<P>
{
if ( ! Econ.shouldBeUsed() || this.fme == null || cost == 0.0 || fme.isAdminBypassing()) return true;
if(Conf.bankFactionPaysLandCosts && fme.hasFaction())
if(Conf.bankEnabled && Conf.bankFactionPaysCosts && fme.hasFaction())
{
if ( ! Econ.modifyMoney(myFaction, -cost, toDoThis, forDoingThis)) return false;
}