forked from MineClone5/MineClone5
Local variable fix in mcl_mobs
This commit is contained in:
parent
61c5c61e00
commit
f7227de6fa
|
@ -1410,7 +1410,7 @@ local npc_attack = function(self)
|
|||
p = obj.object:get_pos()
|
||||
sp = s
|
||||
|
||||
dist = get_distance(p, s)
|
||||
local dist = get_distance(p, s)
|
||||
|
||||
-- aim higher to make looking up hills more realistic
|
||||
p.y = p.y + 1
|
||||
|
|
Loading…
Reference in New Issue