mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-12-01 03:33:05 +00:00
Mobs: Use default pathfinder
This commit is contained in:
parent
d5814195d8
commit
0411a9c7fa
1 changed files with 1 additions and 1 deletions
|
@ -930,7 +930,7 @@ function smart_mobs(self, s, p, dist, dtime)
|
|||
p1.y = floor(p1.y + 0.5)
|
||||
p1.z = floor(p1.z + 0.5)
|
||||
|
||||
self.path.way = minetest.find_path(s, p1, 16, 2, 6, "Dijkstra")
|
||||
self.path.way = minetest.find_path(s, p1, 16, 2, 6)
|
||||
|
||||
-- attempt to unstick mob that is "daydreaming"
|
||||
self.object:setpos({
|
||||
|
|
Loading…
Reference in a new issue