nill check for follow_flop

This commit is contained in:
tenplus1 2020-07-20 07:32:24 +01:00
parent 4814f53885
commit c4f56f4204
1 changed files with 1 additions and 1 deletions

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