Don't use a random UUID. Should fix a protocol crash
This commit is contained in:
		@@ -209,7 +209,7 @@ public class ReflectionManager {
 | 
			
		||||
    public static Object getGameProfile(UUID uuid, String playerName) {
 | 
			
		||||
        try {
 | 
			
		||||
            return Class.forName("net.minecraft.util.com.mojang.authlib.GameProfile").getConstructor(String.class, String.class)
 | 
			
		||||
                    .newInstance(uuid != null ? uuid.toString() : UUID.randomUUID().toString(), playerName);
 | 
			
		||||
                    .newInstance(uuid != null ? uuid.toString() : "", playerName);
 | 
			
		||||
        } catch (Exception ex) {
 | 
			
		||||
            ex.printStackTrace();
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user