making changes

This commit is contained in:
Tmanyo 2016-12-01 19:50:31 -05:00 committed by GitHub
parent 40bc301e54
commit cdecfde24b

View File

@ -114,6 +114,8 @@ minetest.register_on_joinplayer(function(player)
staff = read_table_data()
local playername = player:get_player_name()
if staff.host == playername then
player:set_nametag_attributes("color=red")
player:set_nametag_attributes({
color = {r = 255, g = 0, b = 0}
})
end
end)