Don't show message when armor got destroyed

This commit is contained in:
Wuzzy 2020-02-17 17:11:04 +01:00
parent 641921f4c7
commit 9499076ac8

View File

@ -510,10 +510,6 @@ minetest.register_on_player_hpchange(function(player, hp_change)
state = state + stack:get_wear()
items = items + 1
if stack:get_count() == 0 then
local desc = minetest.registered_items[item].description
if desc then
minetest.chat_send_player(name, "Your "..desc.." got destroyed!")
end
armor:set_player_armor(player)
armor:update_inventory(player)
end