mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-25 16:43:05 +00:00
unbreak worldedit.player_notify
This commit is contained in:
parent
6ea9a5acc8
commit
a5affb1ea7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue