mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-23 02:51:06 +01:00
Bruh. kay27 has 20 times more commits than you.
This reverts commit 322578df6a
.
This commit is contained in:
parent
322578df6a
commit
d555fce8bc
1 changed files with 3 additions and 3 deletions
|
@ -163,11 +163,11 @@ mobs:register_mob("mobs_mc:sheep", {
|
||||||
self.initial_color_set = true
|
self.initial_color_set = true
|
||||||
end
|
end
|
||||||
|
|
||||||
local is_codesploit = self.nametag == "Code-Sploit"
|
local is_kay27 = self.nametag == "kay27"
|
||||||
|
|
||||||
if self.color_change_timer then
|
if self.color_change_timer then
|
||||||
local old_color = self.color
|
local old_color = self.color
|
||||||
if is_codesploit then
|
if is_kay27 then
|
||||||
self.color_change_timer = self.color_change_timer - dtime
|
self.color_change_timer = self.color_change_timer - dtime
|
||||||
if self.color_change_timer < 0 then
|
if self.color_change_timer < 0 then
|
||||||
self.color_change_timer = 0.5
|
self.color_change_timer = 0.5
|
||||||
|
@ -184,7 +184,7 @@ mobs:register_mob("mobs_mc:sheep", {
|
||||||
self.base_texture = sheep_texture(self.color)
|
self.base_texture = sheep_texture(self.color)
|
||||||
self.object:set_properties({textures = self.base_texture})
|
self.object:set_properties({textures = self.base_texture})
|
||||||
end
|
end
|
||||||
elseif is_codesploit then
|
elseif is_kay27 then
|
||||||
self.initial_color = self.color
|
self.initial_color = self.color
|
||||||
self.color_change_timer = 0
|
self.color_change_timer = 0
|
||||||
self.color_index = -1
|
self.color_index = -1
|
||||||
|
|
Loading…
Reference in a new issue