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

View file

@ -4,9 +4,9 @@
local player_notify_suppressed = {} local player_notify_suppressed = {}
local orig_player_notify = worldedit.player_notify 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 if not player_notify_suppressed[name] then
orig_player_notify(name, message) orig_player_notify(name, message, typ)
end end
end end