fix: Updates container searches for non-generic types (#1567)

This commit is contained in:
Voxpire 2023-11-23 17:29:45 +00:00 • committed by GitHub
parent 331f24cb71
commit 3109f59d4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 248 additions and 175 deletions

View file

@ -193,7 +193,7 @@ namespace Server.Engines.MLQuests.Objectives
var left = Objective.Amount;
foreach (var item in pack.EnumerateItemsByType<Item>(false, ClaimTypePredicate))
foreach (var item in pack.EnumerateItems(false, ClaimTypePredicate))
{
if (left == 0)
{