Fix a potential memory leak (low impact) that occurred when a players login process was cancelled (e.g. player is banned). Reduce memory usage per proximity block per player by theoretically up to x10.
How Has This Been Tested?
Successfully tested with the latest spigot, paper and folia release.
Types of Changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
Fix a potential memory leak (low impact) that occurred when a players login process was cancelled (e.g. player is banned). Reduce memory usage per proximity block per player by theoretically up to x10.
How Has This Been Tested?
Successfully tested with the latest spigot, paper and folia release.
Types of Changes