I should know better

This commit is contained in:
Andrew Steinborn 2018-07-24 18:25:16 -04:00
parent 9e397b10b5
commit 6c0ab73a91

View File

@ -30,6 +30,6 @@ public class LoginSessionHandler implements MinecraftSessionHandler {
}
private static UUID generateOfflinePlayerUuid(String username) {
return UUID.nameUUIDFromBytes(username.getBytes(StandardCharsets.UTF_8));
return UUID.nameUUIDFromBytes(("OfflinePlayer:" + username).getBytes(StandardCharsets.UTF_8));
}
}