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
|
|
@ -111,8 +111,6 @@ namespace Server.Spells.Necromancy
|
|||
pool.Enqueue(targ);
|
||||
}
|
||||
|
||||
eable.Free();
|
||||
|
||||
while (pool.Count > 0)
|
||||
{
|
||||
var targ = pool.Dequeue();
|
||||
|
|
|
|||
|
|
@ -84,8 +84,6 @@ namespace Server.Spells.Necromancy
|
|||
pool.Enqueue(targ);
|
||||
}
|
||||
|
||||
eable.Free();
|
||||
|
||||
Effects.PlaySound(Caster.Location, map, 0x1FB);
|
||||
Effects.PlaySound(Caster.Location, map, 0x10B);
|
||||
Effects.SendLocationParticles(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue