mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-07-27 20:40:19 +02:00
nill check for follow_flop
This commit is contained in:
2
api.lua
2
api.lua
@ -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
|
||||
|
Reference in New Issue
Block a user