mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-04 23:31:05 +01:00
Fixed crashes
This commit is contained in:
parent
686646b86d
commit
69903aa4ec
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue