Fixed mistake in LinkedPlayer

This commit is contained in:
Tim203 2020-11-21 02:48:15 +01:00
parent b8f398aa3c
commit 8b811b43fb
No known key found for this signature in database
GPG key ID: 064EE9F5BF7C3EE8

View file

@ -58,11 +58,11 @@ public final class LinkedPlayer {
}
static LinkedPlayer fromString(String data) {
if (data.length() == 4) {
String[] split = data.split(";");
if (split.length != 3) {
return null;
}
String[] split = data.split(";");
LinkedPlayer player = new LinkedPlayer(
split[0], UUID.fromString(split[1]), UUID.fromString(split[2])
);