mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-05 07:13:51 +01:00
Fix armor inventory not updating after death
This commit is contained in:
parent
e87a1dc44a
commit
09207ea062
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
|
pos.z = pos.z - z
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
armor:update_inventory(player)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Death message
|
-- Death message
|
||||||
|
Loading…
Reference in New Issue
Block a user