Allow obstructing blocks
Personal preference
This commit is contained in:
parent
c3ba88c380
commit
6c66efed72
2
init.lua
2
init.lua
@ -52,8 +52,6 @@ local function get_near_televators(pos, which)
|
|||||||
or (which == "below" and i ~= 1 and name == "an_televator:televator") then
|
or (which == "below" and i ~= 1 and name == "an_televator:televator") then
|
||||||
cpos.y = cpos.y + 1
|
cpos.y = cpos.y + 1
|
||||||
return cpos
|
return cpos
|
||||||
elseif name ~= "air" and name ~= "an_televator:televator" then
|
|
||||||
return
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user