Syntax change

This commit is contained in:
Guy Liner 2022-01-11 10:50:42 -05:00
parent de6bde0027
commit dab470c37d
1 changed files with 1 additions and 1 deletions

View File

@ -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