1
0
mirror of https://bitbucket.org/minetest_gamers/x_enchanting.git synced 2025-04-21 17:50:21 +02:00

Dont remove all inventory with cursed item

This commit is contained in:
Juraj Vajda 2022-11-14 18:23:57 -05:00
parent 27c35f551d
commit 11fc35b049

View File

@ -112,8 +112,6 @@ minetest.register_on_player_hpchange(function(player, hp_change, reason)
player_inv:set_stack(list_name, i, ItemStack(''))
end
end
player_inv:set_list(list_name, {})
end
end
end