forked from VoxeLibre/VoxeLibre
Fixed crashes
This commit is contained in:
parent
686646b86d
commit
69903aa4ec
|
@ -88,10 +88,10 @@ mcl_mobs.register_mob("mobs_mc:shulker", {
|
||||||
end
|
end
|
||||||
if self.state == "attack" then
|
if self.state == "attack" then
|
||||||
self:set_animation("run")
|
self:set_animation("run")
|
||||||
self:armor = 0
|
self.armor = 0
|
||||||
if self.state == "stand" then
|
elseif self.state == "stand" then
|
||||||
self.armor = 20
|
self.armor = 20
|
||||||
if self.state == "walk" or self.state == "run" then
|
elseif self.state == "walk" or self.state == "run" then
|
||||||
self.armor = 0
|
self.armor = 0
|
||||||
end
|
end
|
||||||
self.path.way = false
|
self.path.way = false
|
||||||
|
|
Loading…
Reference in New Issue