mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
Fix armor inventory not updating after death
This commit is contained in:
parent
e87a1dc44a
commit
09207ea062
2 changed files with 2 additions and 0 deletions
1
mods/PLAYER/mcl_death/depends.txt
Normal file
1
mods/PLAYER/mcl_death/depends.txt
Normal file
|
@ -0,0 +1 @@
|
|||
3d_armor
|
|
@ -17,6 +17,7 @@ minetest.register_on_dieplayer(function(player)
|
|||
pos.z = pos.z - z
|
||||
end
|
||||
end
|
||||
armor:update_inventory(player)
|
||||
end
|
||||
|
||||
-- Death message
|
||||
|
|
Loading…
Reference in a new issue