mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
commit
316de42cca
4 changed files with 22 additions and 0 deletions
|
|
@ -238,6 +238,7 @@ function on_deprecated_call(name, alternatives)
|
|||
return
|
||||
end
|
||||
__warnings_hidden[name] = true
|
||||
events.emit("core:warning", "deprecated call", name)
|
||||
if alternatives then
|
||||
debug.warning("deprecated function called ("..name.."), use "..
|
||||
alternatives.." instead\n"..debug.traceback())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue