mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Fixed mistake in LinkedPlayer
This commit is contained in:
parent
b8f398aa3c
commit
8b811b43fb
1 changed files with 2 additions and 2 deletions
|
@ -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])
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue