mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-07-13 13:30:22 +02:00
Version MFF.
This commit is contained in:
4
stairsplus/conversion.lua
Normal file → Executable file
4
stairsplus/conversion.lua
Normal file → Executable file
@ -81,7 +81,7 @@ function stairsplus:register_6dfacedir_conversion(modname, material)
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
local fdir = node.param2 or 0
|
||||
|
||||
if flip_upside_down and not flip_to_wall then
|
||||
if flip_upside_down and not flip_to_wall then
|
||||
nfdir = dirs1[fdir + 2]
|
||||
elseif flip_to_wall and not flip_upside_down then
|
||||
nfdir = dirs2[fdir + 1]
|
||||
@ -125,7 +125,7 @@ function stairsplus:register_6dfacedir_conversion(modname, material)
|
||||
local fdir = node.param2
|
||||
local nfdir = 20
|
||||
|
||||
if flip_upside_down and not flip_to_wall then
|
||||
if flip_upside_down and not flip_to_wall then
|
||||
nfdir = dirs1[fdir + 1]
|
||||
elseif flip_to_wall and not flip_upside_down then
|
||||
nfdir = dirs2[fdir + 2]
|
||||
|
Reference in New Issue
Block a user