Issue with generic ores #5 fixed
This commit is contained in:
parent
c8fdc71695
commit
b8166014ca
3
init.lua
3
init.lua
@ -54,7 +54,8 @@ local function add_ores()
|
||||
for _,item in pairs(minetest.registered_ores) do
|
||||
if minetest.registered_nodes[item.ore] then
|
||||
local drop = minetest.registered_nodes[item.ore].drop
|
||||
if type(drop) == "string"
|
||||
if type(drop) == "string"
|
||||
and drop ~= item.ore
|
||||
and item.ore_type == "scatter"
|
||||
and item.clust_scarcity ~= nil and item.clust_scarcity > 0
|
||||
and item.clust_size ~= nil and item.clust_size > 0 then
|
||||
|
Loading…
Reference in New Issue
Block a user