forked from mtcontrib/mobs_redo
fix runaway function
This commit is contained in:
parent
a089d27db8
commit
33551a1441
2
api.lua
2
api.lua
@ -1464,7 +1464,7 @@ local specific_runaway = function(list, what)
|
|||||||
-- found entity on list to attack?
|
-- found entity on list to attack?
|
||||||
for no = 1, #list do
|
for no = 1, #list do
|
||||||
|
|
||||||
if list[no] == what or list[no] == "player" then
|
if list[no] == what then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user