diff --git a/gamemode/core/meta/sh_item.lua b/gamemode/core/meta/sh_item.lua index 25e6df8af..9cbc68197 100644 --- a/gamemode/core/meta/sh_item.lua +++ b/gamemode/core/meta/sh_item.lua @@ -308,7 +308,7 @@ function ITEM:GetOwner() for _, v in player.Iterator() do local character = v:GetCharacter() - if (character and character:GetInventory():GetItemByID(id)) then + if (character and character:GetInventory() and character:GetInventory():GetItemByID(id)) then return v end end