mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 11:17:30 +01:00
Fix local go_to_pos call
This commit is contained in:
parent
5e022ef083
commit
318da7e3c9
@ -754,7 +754,7 @@ function mob_class:check_herd(dtime)
|
|||||||
y = o:get_yaw()
|
y = o:get_yaw()
|
||||||
end
|
end
|
||||||
if p then
|
if p then
|
||||||
go_to_pos(self,p)
|
self:go_to_pos(p)
|
||||||
elseif y then
|
elseif y then
|
||||||
self:set_yaw(y)
|
self:set_yaw(y)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user