Economy payments for command usage no longer ignores "bankEnabled" setting
This commit is contained in:
parent
5ca330ad11
commit
86f80f0421
@ -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 ( ! 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;
|
if ( ! Econ.modifyMoney(myFaction, -cost, toDoThis, forDoingThis)) return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user