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
|
|
@ -143,8 +143,6 @@ public partial class Campfire : Item
|
|||
pm.SendLocalizedMessage(500620); // You feel it would take a few moments to secure your camp.
|
||||
}
|
||||
}
|
||||
|
||||
eable.Free();
|
||||
}
|
||||
|
||||
private void ClearEntries()
|
||||
|
|
|
|||
|
|
@ -167,8 +167,6 @@ public abstract partial class BaseExplosionPotion : BasePotion
|
|||
}
|
||||
}
|
||||
|
||||
eable.Free();
|
||||
|
||||
var min = Scale(from, MinDamage);
|
||||
var max = Scale(from, MaxDamage);
|
||||
|
||||
|
|
|
|||
|
|
@ -115,8 +115,6 @@ public partial class FireHorn : Item
|
|||
}
|
||||
}
|
||||
|
||||
eable.Free();
|
||||
|
||||
if (targets.Count > 0)
|
||||
{
|
||||
var prov = from.Skills.Provocation.Fixed;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue