forked from MineClone5/MineClone5
Fix armor inventory not updating after death
This commit is contained in:
parent
e87a1dc44a
commit
09207ea062
|
@ -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