Add proper lua api deprecated handling
This commit is contained in:
parent
811a1412e9
commit
1db1cc0a68
|
@ -85,6 +85,7 @@ function minetest.get_item_group(name, group)
|
||||||
end
|
end
|
||||||
|
|
||||||
function minetest.get_node_group(name, group)
|
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)
|
return minetest.get_item_group(name, group)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue