Closed fergushev closed 1 year ago
The old packet behavior was already doing this, I just missed it when I moved things over.
if (ItemAttributeMap.find(item->code) == ItemAttributeMap.end()) { HandleUnknownItemCode(item->code, "from packet"); *success = false; return; }
It would only trigger the loot filter rules when success == true, so this code block would prevent the crashes we've been seeing.
success == true
The old packet behavior was already doing this, I just missed it when I moved things over.
It would only trigger the loot filter rules when
success == true
, so this code block would prevent the crashes we've been seeing.