1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-24 09:40:21 +01:00

nill check for follow_flop

This commit is contained in:
tenplus1 2020-07-20 07:32:24 +01:00
parent 4814f53885
commit c4f56f4204

View File

@ -2001,7 +2001,7 @@ function mob_class:follow_flop()
and self.state ~= "attack"
and self.state ~= "runaway" then
local s = self.object:get_pos()
local s = self.object:get_pos() ; if not s then return end
local players = minetest.get_connected_players()
for n = 1, #players do