Sitting : prevent nil cases on pointed_thing
This commit is contained in:
parent
b695cc3d33
commit
cb74aad285
@ -1,4 +1,5 @@
|
||||
local function top_face(pointed_thing)
|
||||
if not pointed_thing then return end
|
||||
return pointed_thing.above.y > pointed_thing.under.y
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user