1
0
Fork 0

Fix view_range_factors warning

This commit is contained in:
Lizzy Fleckenstein 2021-04-21 11:34:22 +02:00
parent 1e7ba2b605
commit dccb71e2fb
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ function mcl_armor.update_player(player, info)
local meta = player:get_meta() local meta = player:get_meta()
meta:set_int("mcl_armor:armor_points", info.points) meta:set_int("mcl_armor:armor_points", info.points)
mcl_armor.player_view_range_factors[player] = view_range_factors mcl_armor.player_view_range_factors[player] = info.view_range_factors
end end
local function is_armor_action(inventory_info) local function is_armor_action(inventory_info)