PaperMC/patches
Spottedleaf c2294d7067 Fix several off-by-one errors in view distance calculations
1. For NearbyPlayers, we need to be using the view distance, and
   not the load distance (which is +1 of the view distance).
2. Correctly clamp tick distance to view distance. Since
   load distance is +1 of view distance, we need to subtract
   one from the load distance when clamping.

Additionally, add checks inside ViewDistances to ensure that
the inputs are in range to catch future errors.

Also, clamp simulation distance, as values < 0 or above
MAX_VIEW_DISTANCE do not make sense to configure.
2024-12-01 15:43:56 -08:00
..
api Deprecate ChatVisibility#UNKNOWN (#11683) 2024-11-29 17:12:17 +01:00
removed/1.20.5 Allow using old ender pearl behavior & apply ender pearl exploit patch (#11524) 2024-10-30 18:09:05 +01:00
server Fix several off-by-one errors in view distance calculations 2024-12-01 15:43:56 -08:00
unapplied/server [ci skip] Add missing feature patch identifiers 2024-11-18 12:31:36 +01:00