making changes
This commit is contained in:
parent
40bc301e54
commit
cdecfde24b
4
init.lua
4
init.lua
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user