This commit is contained in:
whosit 2024-01-29 16:01:08 +03:00
parent 508776c2a0
commit 63cb5034d7

View File

@ -119,11 +119,11 @@ if(not(yl_speak_up.orig_mobs_update_tag)) then
yl_speak_up.orig_mobs_update_tag = mobs.mob_class.update_tag
end
-- update nametag and infotext
mobs.mob_class.update_tag = function(self)
mobs.mob_class.update_tag = function(self, nametag)
-- we are only responsible for talking NPC
if(not(self) or not(self.yl_speak_up)) then
return yl_speak_up.orig_mobs_update_tag(self)
return yl_speak_up.orig_mobs_update_tag(self, nametag)
end
local qua = 0