0
0
Fork 0

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
1 changed files with 2 additions and 4 deletions

View File

@ -221,12 +221,10 @@ function mcl_stairs.cornerstair.add(name, stairtiles)
local t = node_def.tiles[1]
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[3] = t
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)"
for i=3,6 do
-- outer_tiles[i] = t
-- inner_tiles[i] = t
end
inner_tiles[3] = t
elseif stairtiles == nil or stairtiles == "default" then
outer_tiles = node_def.tiles
inner_tiles = node_def.tiles