fix for economy check that made sure player/faction could afford specific commands not working correctly; thanks to spaceemotion for pointing out the problem and fix
This commit is contained in:
		@@ -434,8 +434,8 @@ public abstract class FCommand extends MCommand<P>
 | 
			
		||||
		if ( ! Econ.shouldBeUsed() || this.fme == null || cost == 0.0 || fme.hasAdminMode()) return true;
 | 
			
		||||
 | 
			
		||||
		if(Conf.bankEnabled && Conf.bankFactionPaysCosts && fme.hasFaction())
 | 
			
		||||
			return Econ.hasAtLeast(myFaction, -cost, toDoThis);
 | 
			
		||||
			return Econ.hasAtLeast(myFaction, cost, toDoThis);
 | 
			
		||||
		else
 | 
			
		||||
			return Econ.hasAtLeast(fme, -cost, toDoThis);
 | 
			
		||||
			return Econ.hasAtLeast(fme, cost, toDoThis);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user