mirror of
https://github.com/minetest/minetest_game.git
synced 2025-01-05 04:50:18 +01:00
cb renamed to callback
This commit is contained in:
parent
357f87abad
commit
dbfaad4610
@ -309,8 +309,8 @@ end)
|
||||
|
||||
local function collect_items(player, player_name)
|
||||
local items = {}
|
||||
for _, cb in ipairs(collect_items_callbacks) do
|
||||
table.insert_all(items, cb(player))
|
||||
for _, callback in ipairs(collect_items_callbacks) do
|
||||
table.insert_all(items, callback(player))
|
||||
end
|
||||
return items
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user