aboutsummaryrefslogtreecommitdiffhomepage
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorBjarne Koll <[email protected]>2024-09-16 20:53:00 +0200
committerGitHub <[email protected]>2024-09-16 20:53:00 +0200
commit1348e44173f422a7bf6f162a28c70a229dfe827b (patch)
treea86f5fee0961643aa587048aa0752cca05431554 /build.gradle.kts
parent13a23951d7142c3c4c39bd5e9bddac190b90c151 (diff)
downloadPaper-1348e44173f422a7bf6f162a28c70a229dfe827b.tar.gz
Paper-1348e44173f422a7bf6f162a28c70a229dfe827b.zip
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.
Diffstat (limited to 'build.gradle.kts')
0 files changed, 0 insertions, 0 deletions