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

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