0
0
Fork 0

Disable rotation of corner stairs

This commit is contained in:
Wuzzy 2019-12-09 19:06:18 +01:00
parent ad13c71bf1
commit da47d7917c
1 changed files with 2 additions and 0 deletions

View File

@ -664,6 +664,7 @@ function mcl_stairs.cornerstair.add(name, stairtiles)
stairs = {name, name.."_outer", name.."_inner"},
after_dig_node = function(pos, oldnode) after_dig_node(pos, oldnode) end,
_mcl_hardness = node_def._mcl_hardness,
on_rotate = false,
})
minetest.register_node(":"..name.."_inner", {
description = node_def.description,
@ -687,6 +688,7 @@ function mcl_stairs.cornerstair.add(name, stairtiles)
stairs = {name, name.."_outer", name.."_inner"},
after_dig_node = function(pos, oldnode) after_dig_node(pos, oldnode) end,
_mcl_hardness = node_def._mcl_hardness,
on_rotate = false,
})
if minetest.get_modpath("doc") then