summaryrefslogtreecommitdiff
path: root/builtin/deprecated.lua
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-07-25 17:59:37 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-07-25 18:05:31 +0300
commit100345f1e4331f53b35ef26e60ba4efb1e86b7ba (patch)
tree877540b7fa08d25ca8050c6ff6dc6a54febefd09 /builtin/deprecated.lua
parent4535166a3bdcb498e6891d67b3f9a01145c263a8 (diff)
downloadminetest-100345f1e4331f53b35ef26e60ba4efb1e86b7ba.tar.gz
minetest-100345f1e4331f53b35ef26e60ba4efb1e86b7ba.tar.bz2
minetest-100345f1e4331f53b35ef26e60ba4efb1e86b7ba.zip
Deprecate minetest.add_to_creative_inventory and use group not_in_creative_inventory instead
Diffstat (limited to 'builtin/deprecated.lua')
-rw-r--r--builtin/deprecated.lua4
1 files changed, 4 insertions, 0 deletions
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
+