From 11fc35b049e32189f40fa6cb99fd708fc5b7bd0a Mon Sep 17 00:00:00 2001 From: Juraj Vajda Date: Mon, 14 Nov 2022 18:23:57 -0500 Subject: [PATCH] Dont remove all inventory with cursed item --- init.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/init.lua b/init.lua index f2192bd..a4d4932 100644 --- a/init.lua +++ b/init.lua @@ -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