mirror of
https://github.com/NoctisLabs/an_televator.git
synced 2024-11-26 06:53:44 +01:00
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