mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
Fix all mobs being givin armor list (Fix Villager loosing jobs)
This commit is contained in:
parent
9099f3ac7a
commit
8a2962cd46
1 changed files with 1 additions and 1 deletions
|
@ -4096,7 +4096,7 @@ local mob_activate = function(self, staticdata, def, dtime)
|
|||
self.on_spawn_run = true -- if true, set flag to run once only
|
||||
end
|
||||
end
|
||||
if not self._run_armor_init then
|
||||
if not self._run_armor_init and self.wears_armor then
|
||||
self.armor_list={helmet="",chestplate="",boots="",leggings=""}
|
||||
set_armor_texture(self)
|
||||
self._run_armor_init = true
|
||||
|
|
Loading…
Reference in a new issue