mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-07-03 16:40:42 +02:00
more stuff for compatibility w/ weird old setups
This commit is contained in:
@ -6,7 +6,15 @@ stairsplus.compat = {
|
||||
def.drawtype == "plantlike" or
|
||||
def.drawtype == "nodebox"
|
||||
)
|
||||
end
|
||||
end,
|
||||
is_legacy_paramtype2 = function(node)
|
||||
local def = minetest.registered_nodes[node]
|
||||
return (
|
||||
def.paramtype2 == "color" or
|
||||
def.paramtype2 == "colorwallmounted" or
|
||||
def.paramtype2 == "glasslikeliquidlevel"
|
||||
)
|
||||
end,
|
||||
}
|
||||
|
||||
stairsplus.dofile("compat2", "stairs")
|
||||
|
Reference in New Issue
Block a user