Fixes issue when both Geyser and Floodgate are on the same server

This commit is contained in:
Tim203 2021-02-25 20:55:00 +01:00
parent 66867edbc3
commit 0832e7d65c
No known key found for this signature in database
GPG key ID: 064EE9F5BF7C3EE8
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ name: ${outputName}-Spigot
author: ${project.organization.name}
website: ${project.organization.url}
version: ${project.version}
softdepend: ["ViaVersion"]
softdepend: ["ViaVersion", "floodgate"]
api-version: 1.13
commands:
geyser:

View file

@ -57,7 +57,7 @@ public final class LinkedPlayer implements Cloneable {
return new LinkedPlayer(javaUsername, javaUniqueId, bedrockId);
}
static LinkedPlayer fromString(String data) {
public static LinkedPlayer fromString(String data) {
String[] split = data.split(";");
if (split.length != 3) {
return null;