forked from MineClone5/MineClone5
Mobs: Reset texture mods on activation
This commit is contained in:
parent
e569885fab
commit
87ac0c952c
|
@ -2874,6 +2874,12 @@ local mob_activate = function(self, staticdata, def, dtime)
|
||||||
self.opinion_sound_cooloff = 0 -- used to prevent sound spam of particular sound types
|
self.opinion_sound_cooloff = 0 -- used to prevent sound spam of particular sound types
|
||||||
|
|
||||||
self.texture_mods = {}
|
self.texture_mods = {}
|
||||||
|
self.object:set_texture_mod("")
|
||||||
|
|
||||||
|
self.v_start = false
|
||||||
|
self.timer = 0
|
||||||
|
self.blinktimer = 0
|
||||||
|
self.blinkstatus = false
|
||||||
|
|
||||||
-- check existing nametag
|
-- check existing nametag
|
||||||
if not self.nametag then
|
if not self.nametag then
|
||||||
|
|
Loading…
Reference in New Issue