mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 09:25:10 +00:00
Disable rotation of corner stairs
This commit is contained in:
parent
ad13c71bf1
commit
da47d7917c
1 changed files with 2 additions and 0 deletions
|
@ -664,6 +664,7 @@ function mcl_stairs.cornerstair.add(name, stairtiles)
|
||||||
stairs = {name, name.."_outer", name.."_inner"},
|
stairs = {name, name.."_outer", name.."_inner"},
|
||||||
after_dig_node = function(pos, oldnode) after_dig_node(pos, oldnode) end,
|
after_dig_node = function(pos, oldnode) after_dig_node(pos, oldnode) end,
|
||||||
_mcl_hardness = node_def._mcl_hardness,
|
_mcl_hardness = node_def._mcl_hardness,
|
||||||
|
on_rotate = false,
|
||||||
})
|
})
|
||||||
minetest.register_node(":"..name.."_inner", {
|
minetest.register_node(":"..name.."_inner", {
|
||||||
description = node_def.description,
|
description = node_def.description,
|
||||||
|
@ -687,6 +688,7 @@ function mcl_stairs.cornerstair.add(name, stairtiles)
|
||||||
stairs = {name, name.."_outer", name.."_inner"},
|
stairs = {name, name.."_outer", name.."_inner"},
|
||||||
after_dig_node = function(pos, oldnode) after_dig_node(pos, oldnode) end,
|
after_dig_node = function(pos, oldnode) after_dig_node(pos, oldnode) end,
|
||||||
_mcl_hardness = node_def._mcl_hardness,
|
_mcl_hardness = node_def._mcl_hardness,
|
||||||
|
on_rotate = false,
|
||||||
})
|
})
|
||||||
|
|
||||||
if minetest.get_modpath("doc") then
|
if minetest.get_modpath("doc") then
|
||||||
|
|
Loading…
Reference in a new issue