diff --git a/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua b/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua index adfce1fef..c5b6b3c53 100644 --- a/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua +++ b/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua @@ -790,7 +790,7 @@ function node_hurt(self, dtime, cur_pos) self.damage_timer = self.damage_timer - dtime --This gets the coords of the node below the mob - cur_pos['y'] = cur_pos['y'] - 1 + cur_pos.y = cur_pos.y - 1 -- If the block below the mob is a magma block it gets hurt every half a second if minetest.get_node(cur_pos).name == 'mcl_nether:magma' and self.health > 0 and self.damage_timer <= 0 then