mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add proper lua api deprecated handling
This commit is contained in:
parent
c03d7dc8a7
commit
b5acec0a3c
11 changed files with 75 additions and 3 deletions
|
@ -85,6 +85,7 @@ function minetest.get_item_group(name, group)
|
|||
end
|
||||
|
||||
function minetest.get_node_group(name, group)
|
||||
minetest.log("deprecated", "Deprecated usage of get_node_group, use get_item_group instead")
|
||||
return minetest.get_item_group(name, group)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue