Fix the "can't kick player with negativ power even if adminmode is on"
bug
This commit is contained in:
parent
22bf4bc9bb
commit
1dab81ede3
@ -57,7 +57,7 @@ public class CmdFactionsKick extends FactionsCommand
|
|||||||
return;
|
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.");
|
msg("<b>You cannot kick that member until their power is positive.");
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user