1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-09-20 19:50:26 +02:00

fix nametag glitch in add_mob

This commit is contained in:
tenplus1 2023-10-04 17:16:22 +01:00
parent 93e8d0f4fa
commit 55bdc4c0a4

View File

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