forked from mtcontrib/x_enchanting
Dont remove all inventory with cursed item
This commit is contained in:
parent
27c35f551d
commit
11fc35b049
2
init.lua
2
init.lua
@ -112,8 +112,6 @@ minetest.register_on_player_hpchange(function(player, hp_change, reason)
|
|||||||
player_inv:set_stack(list_name, i, ItemStack(''))
|
player_inv:set_stack(list_name, i, ItemStack(''))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
player_inv:set_list(list_name, {})
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user