Changes

m
no edit summary
Line 221: Line 221:  
end
 
end
 
local api_id = self:api_id()
 
local api_id = self:api_id()
if api_id ~= nil then
+
if self._item then
 +
    return Formatting:equipment_card(false, self:asset_name())
 +
elseif api_id ~= nil then
 
return Formatting:equipment_card(api_id, self:asset_name())
 
return Formatting:equipment_card(api_id, self:asset_name())
    elseif self._item then
  −
        return Formatting:equipment_card(false, self:asset_name())
   
     end
 
     end
 
end
 
end
cssedit, gkautomate
7,064

edits