Prevent potential crash
This commit is contained in:
parent
ad08ca56b8
commit
c64f28a90b
|
@ -320,6 +320,7 @@ function i3.hud_notif(name, msg, img)
|
||||||
end
|
end
|
||||||
|
|
||||||
local player = get_player_by_name(name)
|
local player = get_player_by_name(name)
|
||||||
|
if not player then return end
|
||||||
local max_y = -120
|
local max_y = -120
|
||||||
|
|
||||||
local def = {
|
local def = {
|
||||||
|
|
Ŝarĝante…
Reference in New Issue