Fix armor inventory not updating after death

This commit is contained in:
Wuzzy 2017-06-09 23:29:56 +02:00
parent e87a1dc44a
commit 09207ea062
2 changed files with 2 additions and 0 deletions

View file

@ -0,0 +1 @@
3d_armor

View file

@ -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