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
|
|
@ -56,8 +56,6 @@ namespace Server.Spells.Seventh
|
|||
pool.Enqueue(m);
|
||||
}
|
||||
|
||||
eable.Free();
|
||||
|
||||
if (pool.Count > 0)
|
||||
{
|
||||
double damage = Core.AOS
|
||||
|
|
|
|||
|
|
@ -69,8 +69,6 @@ namespace Server.Spells.Seventh
|
|||
}
|
||||
}
|
||||
|
||||
eable.Free();
|
||||
|
||||
while (queue.Count > 0)
|
||||
{
|
||||
queue.Dequeue().Delete();
|
||||
|
|
|
|||
|
|
@ -60,8 +60,6 @@ namespace Server.Spells.Seventh
|
|||
queue.Enqueue(m);
|
||||
}
|
||||
|
||||
eable.Free();
|
||||
|
||||
double damage = Core.AOS
|
||||
? GetNewAosDamage(51, 1, 5, playerVsPlayer)
|
||||
: Utility.Random(27, 22);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue