mirror of
https://github.com/APercy/airutils.git
synced 2025-03-15 08:01:22 +00:00
fixed landing detection
This commit is contained in:
parent
39e8fcf71d
commit
a309227510
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ function airutils.logic(self)
|
|||
local node_bellow = airutils.nodeatpos(airutils.pos_shift(curr_pos,{y=-1.3}))
|
||||
local is_flying = true
|
||||
if self.colinfo then
|
||||
is_flying = not self.colinfo.touching_ground
|
||||
is_flying = (not self.colinfo.touching_ground) and (self.isinliquid == false)
|
||||
end
|
||||
--if is_flying then minetest.chat_send_all('is flying') end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue