From a30922751055f9f3f42366ee8cdbc11a707c1127 Mon Sep 17 00:00:00 2001 From: Alexsandro Percy Date: Mon, 17 Jul 2023 10:32:38 -0300 Subject: [PATCH] fixed landing detection --- lib_planes/entities.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_planes/entities.lua b/lib_planes/entities.lua index 0826a99..91a2959 100644 --- a/lib_planes/entities.lua +++ b/lib_planes/entities.lua @@ -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