fix nametag glitch in add_mob

This commit is contained in:
tenplus1 2023-10-04 17:16:22 +01:00
parent 93e8d0f4fa
commit 55bdc4c0a4
1 changed files with 1 additions and 0 deletions

View File

@ -3913,6 +3913,7 @@ function mobs:add_mob(pos, def)
end
mob:set_properties({nametag = def.nametag})
ent.nametag = def.nametag
ent:update_tag()
end