fix: Updates container searches for non-generic types (#1567)
This commit is contained in:
parent
331f24cb71
commit
3109f59d4d
9 changed files with 248 additions and 175 deletions
|
|
@ -2394,7 +2394,7 @@ namespace Server.Mobiles
|
|||
// This fixes a "bug" where players put blessed items in nested bags and they were dropped on death
|
||||
if (Core.AOS && Backpack?.Deleted == false)
|
||||
{
|
||||
foreach (var item in Backpack.EnumerateItemsByType<Item>(predicate: FindItems_Callback))
|
||||
foreach (var item in Backpack.EnumerateItems(true, FindItems_Callback))
|
||||
{
|
||||
Backpack.AddItem(item);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue