Fixed Reports and warnings

This commit is contained in:
Cooldude2606
2020-08-06 19:58:10 +01:00
parent a2676f0cc1
commit e44b8d52ba
2 changed files with 5 additions and 6 deletions

View File

@@ -155,6 +155,8 @@ end
-- @tparam string warning_by_name the name of the player who made the warning
-- @tparam string removed_by_name the name of the player who is doing the action
-- @tparam number warning_count the number of warnings that the player how has
-- @tparam number batch the index of this event in a batch, always one when not a batch
-- @tparam number batch_count the number of reports removed in this batch, always one when not a batch
local function warning_removed_event(player, warning_by_name, removed_by_name, warning_count, batch, batch_count)
script.raise_event(Warnings.events.on_warning_removed, {
name = Warnings.events.on_warning_removed,