Merge pull request 'Make the shield drop at death' (#290) from 3raven-patch-2 into master

Reviewed-on: MineClone5/MineClone5#290
This commit is contained in:
3raven 2022-04-12 22:09:34 +00:00
commit 940499ee7e
1 changed files with 57 additions and 56 deletions

View File

@ -13,6 +13,7 @@ end
mcl_death_drop.register_dropped_list("PLAYER", "main", true)
mcl_death_drop.register_dropped_list("PLAYER", "craft", true)
mcl_death_drop.register_dropped_list("PLAYER", "armor", true)
mcl_death_drop.register_dropped_list("PLAYER", "offhand", true)
minetest.register_on_dieplayer(function(player)
local keep = minetest.settings:get_bool("mcl_keepInventory", false)