PaperMC/patches
Bjarne Koll 1348e44173
Prevent NPE when serializing unresolved profile (#11407)
In the recent upstream update, the paper player profile was updated to
correctly return null for both name and id if constructed as such. This
change however broke the serialisation logic, as it depended on the name
never being null.

The commit moves the checks over to the newly introduced emptyName/UUID
fields that track if the profile was constructed with a null name or
uuid to differentiate it against an empty string or the NIL_UUID.
2024-09-16 20:53:00 +02:00
..
api Updated Upstream (Bukkit/CraftBukkit/Spigot) (#11405) 2024-09-15 21:39:53 +02:00
removed Re-add patches for can-place/can-destroy API (#11238) 2024-08-11 13:51:37 -07:00
server Prevent NPE when serializing unresolved profile (#11407) 2024-09-16 20:53:00 +02:00
unapplied/server Apply optimise collision checking in move packet handling patch 2024-08-16 06:56:13 -07:00