check hidden on join
This commit is contained in:
parent
e720eee715
commit
eaf19a7055
2
init.lua
2
init.lua
@ -636,7 +636,7 @@ minetest.register_on_joinplayer(function(player)
|
|||||||
if effect ~=nil then
|
if effect ~=nil then
|
||||||
local type_def = types[effect.effect_type]
|
local type_def = types[effect.effect_type]
|
||||||
|
|
||||||
if type_def ~= nil then
|
if type_def ~= nil and not type_def.hidden then
|
||||||
add_hud(player,
|
add_hud(player,
|
||||||
uid,
|
uid,
|
||||||
type_def.disp_name,
|
type_def.disp_name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user