Fix the "can't kick player with negativ power even if adminmode is on"
bug
This commit is contained in:
		
				
					committed by
					
						
						Olof Larsson
					
				
			
			
				
	
			
			
			
						parent
						
							22bf4bc9bb
						
					
				
				
					commit
					1dab81ede3
				
			@@ -57,7 +57,7 @@ public class CmdFactionsKick extends FactionsCommand
 | 
			
		||||
			return;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if ( ! MConf.get().canLeaveWithNegativePower && mplayer.getPower() < 0)
 | 
			
		||||
		if ( ! MConf.get().canLeaveWithNegativePower && mplayer.getPower() < 0 && ! msender.isUsingAdminMode())
 | 
			
		||||
		{
 | 
			
		||||
			msg("<b>You cannot kick that member until their power is positive.");
 | 
			
		||||
			return;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user