Fix for error when disbanding faction from server console with economy enabled
This commit is contained in:
		@@ -61,7 +61,7 @@ public class CmdDisband extends FCommand
 | 
			
		||||
		if (Conf.logFactionDisband)
 | 
			
		||||
			P.p.log("The faction "+faction.getTag()+" ("+faction.getId()+") was disbanded by "+(senderIsConsole ? "console command" : fme.getName())+".");
 | 
			
		||||
 | 
			
		||||
		if (Econ.shouldBeUsed())
 | 
			
		||||
		if (Econ.shouldBeUsed() && ! senderIsConsole)
 | 
			
		||||
		{
 | 
			
		||||
			//Give all the faction's money to the disbander
 | 
			
		||||
			double amount = Econ.getBalance(faction.getAccountId());
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user