Fix minor texture fail for woodlike corner stair

This commit is contained in:
Wuzzy 2018-05-29 16:03:10 +02:00
parent f3b0cf6f3e
commit 34292ece10

View file

@ -221,12 +221,10 @@ function mcl_stairs.cornerstair.add(name, stairtiles)
local t = node_def.tiles[1] local t = node_def.tiles[1]
outer_tiles[1] = t.."^("..t.."^[transformR90^mcl_stairs_turntexture.png^[makealpha:255,0,255)" outer_tiles[1] = t.."^("..t.."^[transformR90^mcl_stairs_turntexture.png^[makealpha:255,0,255)"
outer_tiles[2] = t.."^("..t.."^mcl_stairs_turntexture.png^[transformR270^[makealpha:255,0,255)" outer_tiles[2] = t.."^("..t.."^mcl_stairs_turntexture.png^[transformR270^[makealpha:255,0,255)"
outer_tiles[3] = t
inner_tiles[1] = t.."^("..t.."^[transformR90^(mcl_stairs_turntexture.png^[transformR180)^[makealpha:255,0,255)" inner_tiles[1] = t.."^("..t.."^[transformR90^(mcl_stairs_turntexture.png^[transformR180)^[makealpha:255,0,255)"
inner_tiles[2] = t.."^("..t.."^[transformR270^(mcl_stairs_turntexture.png^[transformR90)^[makealpha:255,0,255)" inner_tiles[2] = t.."^("..t.."^[transformR270^(mcl_stairs_turntexture.png^[transformR90)^[makealpha:255,0,255)"
for i=3,6 do inner_tiles[3] = t
-- outer_tiles[i] = t
-- inner_tiles[i] = t
end
elseif stairtiles == nil or stairtiles == "default" then elseif stairtiles == nil or stairtiles == "default" then
outer_tiles = node_def.tiles outer_tiles = node_def.tiles
inner_tiles = node_def.tiles inner_tiles = node_def.tiles