fix: Prepares for IPooledEnumerable removal (#1548)
### Summary - Removes `IPooledEnumerable` (non-generic) - Changes `IPooledEnumerable<T>` so that `Free()` is replaced with the `IDisposable` pattern
This commit is contained in:
parent
c2d6578955
commit
d57f1fecc1
92 changed files with 644 additions and 907 deletions
|
|
@ -132,7 +132,6 @@ public partial class Firebomb : Item
|
|||
targets.Enqueue(m);
|
||||
}
|
||||
}
|
||||
eable.Free();
|
||||
|
||||
while (targets.Count > 0)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -88,8 +88,6 @@ public partial class MorphItem : Item
|
|||
}
|
||||
}
|
||||
|
||||
eable.Free();
|
||||
|
||||
ItemID = found ? _activeItemId : _inactiveItemId;
|
||||
|
||||
Visible = ItemID != 0x1;
|
||||
|
|
|
|||
|
|
@ -60,8 +60,6 @@ public partial class OilFlask : Item
|
|||
}
|
||||
}
|
||||
|
||||
eable.Free();
|
||||
|
||||
if (!didStack)
|
||||
{
|
||||
emptyFlask.MoveToWorld(Location, Map);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue