Skip to content

Commit

Permalink
Forgot one occurrence of "waring"
Browse files Browse the repository at this point in the history
  • Loading branch information
Verox001 committed May 8, 2023
1 parent 0505be8 commit 7487c3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class ActionProcess(

ActionType.WARNING -> {
if (this.violationData.getVL() < data.warn || !data.enableWarn) return
if (System.currentTimeMillis() - history.getLastWarning() > ConfigData.action_waring_delay * 1000) {
if (System.currentTimeMillis() - history.getLastWarning() > ConfigData.action_warning_delay * 1000) {
NoCheatPlus.instance.getPlayerProvider(player).getViolationData(checkType).getHistory()
.setLastWarning(System.currentTimeMillis())
player.sendMessage(this.formatMessage(data.warnAction.message))
Expand Down

0 comments on commit 7487c3c

Please sign in to comment.