From c86cdf9227f1c0e087d7bdb938ca409690898046 Mon Sep 17 00:00:00 2001 From: Jim Shield Date: Mon, 26 May 2025 16:21:25 +0100 Subject: [PATCH] Remove "Offline" check from `canCarry()` --- shared/itemcontrol.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/itemcontrol.lua b/shared/itemcontrol.lua index e5dd853..f366b56 100644 --- a/shared/itemcontrol.lua +++ b/shared/itemcontrol.lua @@ -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