aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPilzAdam <adam-k@outlook.com>2012-11-03 10:36:46 -0700
committerPilzAdam <adam-k@outlook.com>2012-11-03 10:36:46 -0700
commit755df5f659899e961a7b1875837088fbc6cc1a55 (patch)
tree3014907e0f57402f9e34acbbcf02e517b6ec3464
parent41c00e87d42580881d8c7001f39014814e3b55f2 (diff)
parent936411e4d144eb5d5d11d84c7e6f2df29ef70a8c (diff)
downloadminetest-755df5f659899e961a7b1875837088fbc6cc1a55.tar.gz
minetest-755df5f659899e961a7b1875837088fbc6cc1a55.tar.bz2
minetest-755df5f659899e961a7b1875837088fbc6cc1a55.zip
Merge pull request #273 from PilzAdam/air
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},
})