From 97991d138cf7294e7d85b0febc685399ead53ab9 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Thu, 25 Mar 2021 17:34:03 +0100 Subject: [PATCH] Revert "Do a secre thing even more secret then the secret thing of secret" This reverts commit 630e7e8acb517a06aec56cad1839e05728e6f7a4. --- mods/ENTITIES/mobs_mc/sheep.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/ENTITIES/mobs_mc/sheep.lua b/mods/ENTITIES/mobs_mc/sheep.lua index 963b3c26db..84650b4ddd 100644 --- a/mods/ENTITIES/mobs_mc/sheep.lua +++ b/mods/ENTITIES/mobs_mc/sheep.lua @@ -163,11 +163,11 @@ mobs:register_mob("mobs_mc:sheep", { self.initial_color_set = true end - local is_codesploit = self.nametag == "Code-Sploit" + local is_kay27 = self.nametag == "kay27" if self.color_change_timer then local old_color = self.color - if is_codesploit then + if is_kay27 then self.color_change_timer = self.color_change_timer - dtime if self.color_change_timer < 0 then self.color_change_timer = 0.5 @@ -184,7 +184,7 @@ mobs:register_mob("mobs_mc:sheep", { self.base_texture = sheep_texture(self.color) self.object:set_properties({textures = self.base_texture}) end - elseif is_codesploit then + elseif is_kay27 then self.initial_color = self.color self.color_change_timer = 0 self.color_index = -1