refactor(es_extended/server/functions): use numeric loop

This commit is contained in:
Kenshin13
2025-07-25 11:50:11 +02:00
parent 71143e96d8
commit 60e1d7e7c8
+2 -1
View File
@@ -684,7 +684,8 @@ if not Config.CustomInventory then
local toInsert = {}
local toInsertIndex = 1
for _, item in ipairs(items) do
for i = 1, #items do
local item = items[i]
local name = item.name
local label = item.label
local weight = item.weight or 1