add nil check for flight

This commit is contained in:
tenplus1 2022-07-17 11:48:23 +01:00
parent dfb4b1bcf8
commit 54260291cc

View File

@ -30,7 +30,7 @@ local function set_timer(user, timer)
if is_50 then
local meta = user:get_meta()
local meta = user:get_meta() ; if not meta then return end
meta:set_string("ethereal:fly_timer", timer)
else