Remove spawner from can_be_replaced

Should be in can_replace. It already is because of drawtype check.
master
NO11 2021-08-22 17:08:35 -05:00 committed by GitHub
parent f81819dee0
commit 4d6bd39883
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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