fix unknown item drops
This commit is contained in:
parent
109c5c371e
commit
f0c0ee3d75
@ -53,8 +53,8 @@ local NodeNames = {
|
|||||||
|
|
||||||
"techage:basalt_glass",
|
"techage:basalt_glass",
|
||||||
"techage:basalt_glass2",
|
"techage:basalt_glass2",
|
||||||
"techage:bauxite_stone",
|
|
||||||
"techage:bauxite_cobble",
|
"techage:bauxite_cobble",
|
||||||
|
"techage:bauxite_stone",
|
||||||
|
|
||||||
"techage:cement_block",
|
"techage:cement_block",
|
||||||
}
|
}
|
||||||
@ -64,6 +64,9 @@ if(minetest.get_modpath("moreblocks")) then
|
|||||||
local ndef = minetest.registered_nodes[name]
|
local ndef = minetest.registered_nodes[name]
|
||||||
if ndef then
|
if ndef then
|
||||||
ndef = table.copy(ndef)
|
ndef = table.copy(ndef)
|
||||||
|
if ndef.drop then -- this fixes https://github.com/fluxionary/minetest-moreblocks/issues/19
|
||||||
|
ndef.drop = nil
|
||||||
|
end
|
||||||
local subname = string.split(name, ":")[2]
|
local subname = string.split(name, ":")[2]
|
||||||
ndef.sunlight_propagates = true
|
ndef.sunlight_propagates = true
|
||||||
ndef.groups.not_in_creative_inventory = 1
|
ndef.groups.not_in_creative_inventory = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user