Fix some cornerstairs missing textures

This commit is contained in:
cora 2023-09-07 19:41:17 +02:00 committed by the-real-herowl
parent 93165a042b
commit 0e4b8d9c27
1 changed files with 2 additions and 0 deletions

View File

@ -232,6 +232,8 @@ function mcl_stairs.cornerstair.add(name, stairtiles)
outer_tiles = stairtiles[1]
inner_tiles = stairtiles[2]
end
if inner_tiles == nil then inner_tiles = node_def.tiles end
if outer_tiles == nil then outer_tiles = node_def.tiles end
local outer_groups = table.copy(node_def.groups)
outer_groups.not_in_creative_inventory = 1
local inner_groups = table.copy(outer_groups)