mobs:fix typo in homing function
This commit is contained in:
parent
bc101314df
commit
cee5bbc206
@ -437,7 +437,7 @@ function mcl_mobs.register_arrow(name, def)
|
|||||||
self.object:set_velocity(vector.direction(self.object:get_pos(), p) * self.velocity)
|
self.object:set_velocity(vector.direction(self.object:get_pos(), p) * self.velocity)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
self.target = nil
|
self._target = nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user