mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-22 07:25:54 +02:00
Updated market to work on >10.90
This commit is contained in:
@@ -726,8 +726,10 @@ local function initMarketItems()
|
||||
}
|
||||
|
||||
-- add new market item
|
||||
table.insert(marketItems[marketData.category], marketItem)
|
||||
itemSet[marketData.tradeAs] = true
|
||||
if marketItems[marketData.category] ~= nil then
|
||||
table.insert(marketItems[marketData.category], marketItem)
|
||||
itemSet[marketData.tradeAs] = true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user