fix: Cleans up FindItems and removes allocations (#1516)

This commit is contained in:
Kamron Batman 2023-09-28 22:20:36 -07:00 • committed by GitHub
parent a4cabe2fa4
commit d77dac9516
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 105 additions and 127 deletions

View file

@ -150,7 +150,7 @@ namespace Server.Engines.MLQuests.Objectives
}
var total = 0;
foreach (var item in pack.FindItemsByType(false))
foreach (var item in pack.FindItems(false))
{
if (ClaimTypePredicate(item))
{