Changes

no edit summary
Line 194: Line 194:  
     if api_id > 500 then
 
     if api_id > 500 then
 
         local equipment_type = self:type()
 
         local equipment_type = self:type()
         if equipment_type <= 6  
+
         if equipment_type < 6  
             or (equipment_type >= 11 and equipment_type ~= 25 and equipment_type ~= 26 and equipment_type ~= 41
+
             or (equipment_type > 11 and equipment_type ~= 25 and equipment_type ~= 26 and equipment_type ~= 41
 
             and equipment_type ~= 45 and equipment_type ~= 47 and equipment_type ~= 48 and equipment_type ~= 94) then
 
             and equipment_type ~= 45 and equipment_type ~= 47 and equipment_type ~= 48 and equipment_type ~= 94) then
 
         Equipment = Equipment or require(self._constructor_module)
 
         Equipment = Equipment or require(self._constructor_module)
Anonymous user