From 6c0ab73a9165f72b82dbc61e3283c03d93083164 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Tue, 24 Jul 2018 18:25:16 -0400 Subject: [PATCH] I should know better --- .../minecraft/velocity/proxy/handler/LoginSessionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/minimum/minecraft/velocity/proxy/handler/LoginSessionHandler.java b/src/main/java/io/minimum/minecraft/velocity/proxy/handler/LoginSessionHandler.java index 2bd70f046..f2ae5a6b8 100644 --- a/src/main/java/io/minimum/minecraft/velocity/proxy/handler/LoginSessionHandler.java +++ b/src/main/java/io/minimum/minecraft/velocity/proxy/handler/LoginSessionHandler.java @@ -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)); } }