projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41c00e8
)
Make air and ignore drop nothing
273/head
author
PilzAdam
<adam-k@outlook.com>
Sat, 3 Nov 2012 17:29:01 +0000
(18:29 +0100)
committer
PilzAdam
<adam-k@outlook.com>
Sat, 3 Nov 2012 17:29:01 +0000
(18:29 +0100)
builtin/misc_register.lua
patch
|
blob
|
history
diff --git
a/builtin/misc_register.lua
b/builtin/misc_register.lua
index 4894e71bc198f0b6aa4758b4124ecb3975402492..77c594de2c9e8a217be01e18572cee3184f220b8 100644
(file)
--- 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},
})