mirror of
https://github.com/minetest-mods/i3.git
synced 2024-11-15 07:10:22 +01:00
Prevent potential crash
This commit is contained in:
parent
ad08ca56b8
commit
c64f28a90b
|
@ -320,6 +320,7 @@ function i3.hud_notif(name, msg, img)
|
|||
end
|
||||
|
||||
local player = get_player_by_name(name)
|
||||
if not player then return end
|
||||
local max_y = -120
|
||||
|
||||
local def = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user