mobs:fix typo in homing function

This commit is contained in:
bakawun 2023-12-14 16:50:23 +01:00
parent bc101314df
commit cee5bbc206

View File

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