From 87ac0c952c6007f07709eb501a74571e4a344738 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 6 Jan 2020 17:28:08 +0100 Subject: [PATCH] Mobs: Reset texture mods on activation --- mods/ENTITIES/mcl_mobs/api.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 1ba87dd8dc..d161f035c5 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -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.texture_mods = {} + self.object:set_texture_mod("") + + self.v_start = false + self.timer = 0 + self.blinktimer = 0 + self.blinkstatus = false -- check existing nametag if not self.nametag then