mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 12:01:06 +01:00
replace pairs() by ipairs() in mcl_player
This commit is contained in:
parent
25653e6178
commit
4c3954959c
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ local player_attached = mcl_player.player_attached
|
|||
|
||||
-- Check each player and apply animations
|
||||
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 model_name = player_model[name]
|
||||
local model = model_name and models[model_name]
|
||||
|
|
Loading…
Reference in a new issue