mirror of
https://bitbucket.org/minetest_gamers/x_enchanting.git
synced 2025-07-06 09:40:22 +02:00
Dont remove all inventory with cursed item
This commit is contained in:
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(''))
|
||||
end
|
||||
end
|
||||
|
||||
player_inv:set_list(list_name, {})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user