From 0e4b8d9c273ea80c72f8626d0c2777bbb9de6876 Mon Sep 17 00:00:00 2001 From: cora Date: Thu, 7 Sep 2023 19:41:17 +0200 Subject: [PATCH] Fix some cornerstairs missing textures --- mods/ITEMS/mcl_stairs/cornerstair.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/ITEMS/mcl_stairs/cornerstair.lua b/mods/ITEMS/mcl_stairs/cornerstair.lua index ae3eb4ea3..8acaac5d8 100644 --- a/mods/ITEMS/mcl_stairs/cornerstair.lua +++ b/mods/ITEMS/mcl_stairs/cornerstair.lua @@ -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)