From 1dab81ede383aeb76606daf5a3c859775e1b3778 Mon Sep 17 00:00:00 2001 From: ulumulu1510 Date: Sun, 22 Feb 2015 12:04:55 +0100 Subject: [PATCH] Fix the "can't kick player with negativ power even if adminmode is on" bug --- src/com/massivecraft/factions/cmd/CmdFactionsKick.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/massivecraft/factions/cmd/CmdFactionsKick.java b/src/com/massivecraft/factions/cmd/CmdFactionsKick.java index fbd27ddc..69cb447d 100644 --- a/src/com/massivecraft/factions/cmd/CmdFactionsKick.java +++ b/src/com/massivecraft/factions/cmd/CmdFactionsKick.java @@ -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("You cannot kick that member until their power is positive."); return;