unbreak worldedit.player_notify

This commit is contained in:
VorTechnix 2024-10-16 18:34:31 -07:00
parent 6ea9a5acc8
commit a5affb1ea7
No known key found for this signature in database
GPG Key ID: 091E91A69545D5BA

@ -4,9 +4,9 @@
local player_notify_suppressed = {}
local orig_player_notify = worldedit.player_notify
function worldedit.player_notify(name, message)
function worldedit.player_notify(name, message, typ)
if not player_notify_suppressed[name] then
orig_player_notify(name, message)
orig_player_notify(name, message, typ)
end
end