Merge branch 'jimathy:main' into main

This commit is contained in:
oosayeroo
2025-06-03 08:54:36 +01:00
committed by GitHub
15 changed files with 270 additions and 91 deletions

View File

@@ -640,7 +640,7 @@ function canCarry(itemTable, src)
end
for k, v in pairs(itemTable) do
local itemInfo = Items[k]
if not itemInfo and not Player.Offline then
if not itemInfo then
resultTable[k] = true
else
resultTable[k] = (totalWeight + (itemInfo.weight * v)) <= InventoryWeight
@@ -657,7 +657,7 @@ function canCarry(itemTable, src)
end
for k, v in pairs(itemTable) do
local itemInfo = Items[k]
if not itemInfo and not Player.Offline then
if not itemInfo then
resultTable[k] = true
else
resultTable[k] = (totalWeight + (itemInfo.weight * v)) <= InventoryWeight