forked from MineClone5/MineClone5
Update Fork #1
|
@ -102,8 +102,8 @@ function mcl_bossbars.update_boss(object, name, color)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_on_joinplayer(function(player)
|
minetest.register_on_authplayer(function(name, ip, is_success)
|
||||||
local name = player:get_player_name()
|
if not is_success then return end
|
||||||
mcl_bossbars.huds[name] = {}
|
mcl_bossbars.huds[name] = {}
|
||||||
mcl_bossbars.bars[name] = {}
|
mcl_bossbars.bars[name] = {}
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue