mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Add proper lua api deprecated handling
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user