1
0
Fork 0

replace pairs() by ipairs() in mcl_player

This commit is contained in:
AFCMS 2021-02-18 15:32:15 +00:00
parent 25653e6178
commit 4c3954959c
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ local player_attached = mcl_player.player_attached
-- Check each player and apply animations -- Check each player and apply animations
minetest.register_globalstep(function(dtime) minetest.register_globalstep(function(dtime)
for _, player in pairs(minetest.get_connected_players()) do for _, player in ipairs(minetest.get_connected_players()) do
local name = player:get_player_name() local name = player:get_player_name()
local model_name = player_model[name] local model_name = player_model[name]
local model = model_name and models[model_name] local model = model_name and models[model_name]