fix console errors on flipped items if front item is empty
This commit is contained in:
1 parent
b194979621
commit
2246337fc4
1 file changed
+1
-1
+1
-1
@@ -1587,7 +1587,7 @@ end
|
|||||||
|
|
||||||
-- Returns the quality of the described entity
|
-- Returns the quality of the described entity
|
||||||
function EID:getObjectQuality(descObj)
|
function EID:getObjectQuality(descObj)
|
||||||
if REPENTANCE and descObj.ObjType == 5 and descObj.ObjVariant == 100 then
|
if REPENTANCE and descObj.ObjType == 5 and descObj.ObjVariant == 100 and EID.itemConfig:GetCollectible(tonumber(descObj.ObjSubType)) then
|
||||||
return tonumber(EID.itemConfig:GetCollectible(tonumber(descObj.ObjSubType)).Quality)
|
return tonumber(EID.itemConfig:GetCollectible(tonumber(descObj.ObjSubType)).Quality)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user