From f2e909ab8d182febabbdacd9de50a65f27137761 Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Sat, 17 Apr 2021 12:41:14 -0400 Subject: [PATCH] Add in fly logic gate --- mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua b/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua index c4e8f32860..41d33e89b0 100644 --- a/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua +++ b/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua @@ -323,6 +323,9 @@ mobs.mob_step = function(self, dtime) if self.swim then swim_state_switch(self, dtime) swim_state_execution(self, dtime) + --flying + elseif self.fly then + print("I probably should be flying >:(") --regular mobs that walk around else land_state_switch(self, dtime)