1
0
Fork 0
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:
sapier 2014-04-29 17:47:34 +02:00
parent c03d7dc8a7
commit b5acec0a3c
11 changed files with 75 additions and 3 deletions

View file

@ -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