aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPilzAdam <adam-k@outlook.com>2012-11-03 18:29:01 +0100
committerPilzAdam <adam-k@outlook.com>2012-11-03 18:29:01 +0100
commit936411e4d144eb5d5d11d84c7e6f2df29ef70a8c (patch)
tree3014907e0f57402f9e34acbbcf02e517b6ec3464
parent41c00e87d42580881d8c7001f39014814e3b55f2 (diff)
downloadminetest-936411e4d144eb5d5d11d84c7e6f2df29ef70a8c.tar.gz
minetest-936411e4d144eb5d5d11d84c7e6f2df29ef70a8c.tar.bz2
minetest-936411e4d144eb5d5d11d84c7e6f2df29ef70a8c.zip
Make air and ignore drop nothing
-rw-r--r--builtin/misc_register.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/misc_register.lua b/builtin/misc_register.lua
index 4894e71bc..77c594de2 100644
--- a/builtin/misc_register.lua
+++ b/builtin/misc_register.lua
@@ -259,6 +259,7 @@ minetest.register_node(":air", {
diggable = false,
buildable_to = true,
air_equivalent = true,
+ drop = "",
groups = {not_in_creative_inventory=1},
})
@@ -274,6 +275,7 @@ minetest.register_node(":ignore", {
diggable = false,
buildable_to = true, -- A way to remove accidentally placed ignores
air_equivalent = true,
+ drop = "",
groups = {not_in_creative_inventory=1},
})