1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2025-12-27 02:39:09 +00:00

Fix config/key loading, fix compilation, skin exception fixed

This commit is contained in:
DoctorMacc
2020-11-21 00:09:50 -05:00
parent 2d78c3e536
commit 660a35df96
4 changed files with 40 additions and 30 deletions

View File

@@ -90,7 +90,7 @@ public class SqliteDatabase extends CommonPlayerLink {
String javaUsername = result.getString("javaUsername");
UUID javaUniqueId = UUID.fromString(result.getString("javaUniqueId"));
return new LinkedPlayer(javaUsername, javaUniqueId, bedrockId);
return LinkedPlayer.of(javaUsername, javaUniqueId, bedrockId);
} catch (SQLException | NullPointerException exception) {
getLogger().error("Error while getting LinkedPlayer", exception);
throw new CompletionException("Error while getting LinkedPlayer", exception);