Fix: Cozylight server crash on leave
This commit is contained in:
parent
4abaf27a17
commit
15e8e696a2
1 changed files with 1 additions and 1 deletions
|
@ -597,7 +597,7 @@ minetest.register_globalstep(function(dtime)
|
|||
else
|
||||
for _,cozyplayer in pairs(cozylights.cozyplayers) do
|
||||
local player = minetest.get_player_by_name(cozyplayer.name)
|
||||
if not player == nil then
|
||||
if player == nil then
|
||||
goto next_player
|
||||
end
|
||||
local pos = vector.round(player:getpos())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue