check hidden on join

This commit is contained in:
raymoo 2016-01-28 22:12:59 -08:00
parent e720eee715
commit eaf19a7055

View File

@ -636,7 +636,7 @@ minetest.register_on_joinplayer(function(player)
if effect ~=nil then
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,
uid,
type_def.disp_name,