Fix the "can't kick player with negativ power even if adminmode is on"

bug
This commit is contained in:
ulumulu1510 authored and Olof Larsson committed 2015-02-22 21:48:45 +01:00
1 parent 22bf4bc9bb
commit 1dab81ede3
1 file changed
+1 -1
@@ -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;