fix(core): Fixes IPMatch and some cleanup (#443)
- [X] Fixes a bug where IPMatch was returning false on some IP ranges - [X] Cleans up shrink table load.
This commit is contained in:
parent
cb22e662b4
commit
24ebdd0f90
7 changed files with 22 additions and 30 deletions
|
|
@ -536,9 +536,7 @@ namespace Server
|
|||
|
||||
private static void ProcessDecay()
|
||||
{
|
||||
Item item;
|
||||
|
||||
while (_decayQueue.TryDequeue(out item))
|
||||
while (_decayQueue.TryDequeue(out var item))
|
||||
{
|
||||
if (item.OnDecay())
|
||||
{
|
||||
|
|
@ -555,7 +553,7 @@ namespace Server
|
|||
return;
|
||||
}
|
||||
|
||||
WaitForWriteCompletion(); // Blocks Save until current disk flush is done.s
|
||||
WaitForWriteCompletion(); // Blocks Save until current disk flush is done.
|
||||
|
||||
++_Saves;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue