Revert cooldown is player is bypassing

This commit is contained in:
Driftay
2020-04-06 16:21:22 -04:00
parent 62e4114466
commit 919a3ada25
4 changed files with 4 additions and 4 deletions

View File

@@ -85,7 +85,7 @@ public class CmdDisband extends FCommand {
}
}
if(Cooldown.isOnCooldown(context.fPlayer.getPlayer(), "disbandCooldown")){
if(Cooldown.isOnCooldown(context.fPlayer.getPlayer(), "disbandCooldown") && !context.fPlayer.isAdminBypassing()){
context.msg(TL.COMMAND_COOLDOWN);
return;
}