mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-11-22 03:38:33 +00:00
Remove "Offline" check from canCarry()
This commit is contained in:
1 parent
ca78c1b100
commit
c86cdf9227
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user