We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0883ed5 commit 16330d5Copy full SHA for 16330d5
src/main/java/cn/nukkit/utils/ClientChainData.java
@@ -249,7 +249,7 @@ private void decodeChainData() {
249
if (extra.has("displayName")) this.username = extra.get("displayName").getAsString();
250
if (extra.has("identity")) this.clientUUID = UUID.fromString(extra.get("identity").getAsString());
251
if (extra.has("XUID")) this.xuid = extra.get("XUID").getAsString();
252
- if (extra.has("titleId")) this.titleId = extra.get("titleId").getAsString();
+ if (extra.has("titleId") && extra.get("titleId") != null) this.titleId = extra.get("titleId").getAsString();
253
}
254
255
if (chainMap.has("identityPublicKey")) {
0 commit comments