mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2025-03-15 13:22:39 +01:00
unbreak worldedit.player_notify
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user