From 100345f1e4331f53b35ef26e60ba4efb1e86b7ba Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Wed, 25 Jul 2012 17:59:37 +0300 Subject: Deprecate minetest.add_to_creative_inventory and use group not_in_creative_inventory instead --- builtin/deprecated.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'builtin/deprecated.lua') diff --git a/builtin/deprecated.lua b/builtin/deprecated.lua index d41e2c44c..405ce3b09 100644 --- a/builtin/deprecated.lua +++ b/builtin/deprecated.lua @@ -20,3 +20,7 @@ minetest.node_metadata_inventory_move_allow_all = function() minetest.log("info", "WARNING: minetest.node_metadata_inventory_move_allow_all is obsolete and does nothing.") end +minetest.add_to_creative_inventory = function(itemstring) + minetest.log('info', "WARNING: minetest.add_to_creative_inventory: This function is deprecated and does nothing.") +end + -- cgit v1.2.3