mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
Don't show message when armor got destroyed
This commit is contained in:
parent
641921f4c7
commit
9499076ac8
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue