diff --git a/server/business/component/attr_component.lua b/server/business/component/attr_component.lua index 007eaab3..b28b8e02 100644 --- a/server/business/component/attr_component.lua +++ b/server/business/component/attr_component.lua @@ -246,7 +246,7 @@ end function AttrComponent:package_attrs(range) local attrs = {} for attr_id, attr in pairs(self.attr_set) do - if attr.range > 0 and range >= attr.range then + if attr.range > 0 and attr.range > range then tinsert(attrs, self:encode_attr(attr_id, attr)) end end