Make hbarmor work

This commit is contained in:
Elias Fleckenstein 2021-04-14 20:08:08 +02:00
parent 9c75cd1a79
commit ec6d68322a

View File

@ -61,7 +61,7 @@ mcl_player.player_register_model("mcl_armor_character_female.b3d", {
function mcl_armor.update_player(player, info)
mcl_player.player_set_armor(player, info.texture, info.preview)
player:get_meta():set_int("mcl_armor:armor_point", info.points)
player:get_meta():set_int("mcl_armor:armor_points", info.points)
end
local function is_armor_action(inventory_info)