Skip to content

Commit c2f723c

Browse files
committed
Fixing another NPE
1 parent c38e3f3 commit c2f723c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/dev/koifysh/archipelago/Client.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public static String getUUID() {
189189
}
190190
}
191191
JsonElement uuidEle = data.get("uuid");
192-
if(!uuidEle.isJsonNull())
192+
if(uuidEle != null && !uuidEle.isJsonNull())
193193
{
194194
tmp = uuidEle.getAsString();
195195
}

0 commit comments

Comments
 (0)