You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the new chunk loading system, attempting to re-propagate a player with a different view distance can sometimes result in NullPointerExceptions from removeIf.
Do note, however, that this is not as simple as just properly null checking, as that will result in strange behaviour.
Steps to reproduce
Note: currently not reproducible, as per-player view distances are currently disabled due to this issue.
Join the server with a set view distance
Decrease the view distance
Get kicked for internal exception
Expected behaviour
The removeIf operation removes all values matching the predicate, appropriately dealing with null values when they arise.
Details
Server version: Krypton 0.33
Java version: 16
Other information
N/A
The text was updated successfully, but these errors were encountered:
Description
With the new chunk loading system, attempting to re-propagate a player with a different view distance can sometimes result in NullPointerExceptions from
removeIf
.Do note, however, that this is not as simple as just properly null checking, as that will result in strange behaviour.
Steps to reproduce
Note: currently not reproducible, as per-player view distances are currently disabled due to this issue.
Expected behaviour
The
removeIf
operation removes all values matching the predicate, appropriately dealing with null values when they arise.Details
Other information
N/A
The text was updated successfully, but these errors were encountered: