mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-09-12 08:58:36 +02: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
|
||||
end
|
||||
end
|
||||
armor:update_inventory(player)
|
||||
end
|
||||
|
||||
-- Death message
|
||||
|
Loading…
Reference in New Issue
Block a user