mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-01 07:13:45 +01:00
Fixed crashes
This commit is contained in:
parent
686646b86d
commit
69903aa4ec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user