0
0
Fork 0

Fixed crashes

This commit is contained in:
the-real-herowl 2023-11-25 02:55:06 +01:00
parent 686646b86d
commit 69903aa4ec
1 changed files with 3 additions and 3 deletions

View File

@ -88,10 +88,10 @@ mcl_mobs.register_mob("mobs_mc:shulker", {
end
if self.state == "attack" then
self:set_animation("run")
self:armor = 0
if self.state == "stand" then
self.armor = 0
elseif self.state == "stand" then
self.armor = 20
if self.state == "walk" or self.state == "run" then
elseif self.state == "walk" or self.state == "run" then
self.armor = 0
end
self.path.way = false