Bump version to 0.4.5

This commit is contained in:
stujones11
2015-11-15 22:56:53 +00:00
parent a44d1a2530
commit e1caf0ab0c
2 changed files with 12 additions and 16 deletions

View File

@ -73,7 +73,7 @@ armor = {
.."listring[current_player;craft]",
textures = {},
default_skin = "character",
version = "0.4.4",
version = "0.4.5",
}
if minetest.get_modpath("inventory_plus") then
@ -466,14 +466,6 @@ minetest.register_on_joinplayer(function(player)
armor_inv:set_stack("armor", i, stack)
end
-- Legacy support, import player's armor from old inventory format
for _,v in pairs(armor.elements) do
local list = "armor_"..v
armor_inv:add_item("armor", player_inv:get_stack(list, 1))
player_inv:set_stack(list, 1, nil)
end
-- TODO Remove this on the next version upate
armor.player_hp[name] = 0
armor.def[name] = {
state = 0,