Add proper lua api deprecated handling

This commit is contained in:
sapier 2014-04-29 17:47:34 +02:00 committed by Nils Dagsson Moskopp
parent 811a1412e9
commit 1db1cc0a68
Signed by: erle
GPG Key ID: A3BC671C35191080
1 changed files with 1 additions and 0 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