mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-01-13 20:17:36 +01:00
Fix random-interval crash when not using luajit
This commit is contained in:
parent
470d7dbe39
commit
c44b29925a
@ -2212,7 +2212,7 @@ local monster_attack = function(self)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if not min_player then
|
if not min_player and #blacklist_attack > 0 then
|
||||||
min_player=blacklist_attack[math.random(#blacklist_attack)]
|
min_player=blacklist_attack[math.random(#blacklist_attack)]
|
||||||
end
|
end
|
||||||
-- attack player
|
-- attack player
|
||||||
|
Loading…
Reference in New Issue
Block a user