mirror of
https://gitea.your-land.de/Sokomine/yl_speak_up.git
synced 2025-06-15 16:18:01 +02:00
Merge branch 'master' of https://gitea.your-land.de/Sokomine/yl_speak_up
This commit is contained in:
commit
f029f5d21b
@ -162,11 +162,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, newname)
|
||||
|
||||
-- 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, newname)
|
||||
end
|
||||
|
||||
local qua = 0
|
||||
|
Loading…
Reference in New Issue
Block a user