Remove spawner from can_be_replaced
Should be in can_replace. It already is because of drawtype check.master
parent
f81819dee0
commit
4d6bd39883
2
init.lua
2
init.lua
|
@ -8,7 +8,7 @@ randomizer = {
|
|||
local id = minetest.get_content_id
|
||||
|
||||
local function can_be_replaced(node, def)
|
||||
local allowed = node ~= "mcl_core:bedrock" and node ~= "air" and node ~= "mcl_mobspawners:spawner"
|
||||
local allowed = node ~= "mcl_core:bedrock" and node ~= "air"
|
||||
and def.drawtype ~= "liquid" and def.drawtype ~= "flowingliquid"
|
||||
return allowed
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue