Lift deletes bones now

master
Gabriel Pérez-Cerezo 2016-08-26 23:53:14 +02:00
parent 2cc44e36a4
commit 6eb3d8ee64
No known key found for this signature in database
GPG Key ID: 90422B01A46D0B3E
1 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,9 @@ local function fetch_lift(pos, node, clicker, rel, i, open_door, plus)
anode.name ~= "lifter:lift" and dnode.name ~= "lifter:lift" then
if wnode.name ~= "air" and snode.name ~= "air" and
anode.name ~= "air" and dnode.name ~= "air" then
anode.name ~= "air" and dnode.name ~= "air" and
wnode.name ~= "bones:bones" and snode.name ~= "bones:bones" and
anode.name ~= "bones:bones" and dnode.name ~= "bones:bones"then
print("lift not found, no air")
return
end