From f9c68bba8126b663edff33bb0cb3409877b9fa8a Mon Sep 17 00:00:00 2001 From: nekosune Date: Wed, 10 Sep 2014 00:24:36 +0100 Subject: [PATCH] Fixed Clientside GameProfile UUID being null on offline mode --- patches/minecraft/net/minecraft/util/Session.java.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/patches/minecraft/net/minecraft/util/Session.java.patch b/patches/minecraft/net/minecraft/util/Session.java.patch index 257c70443..6f6c0e089 100644 --- a/patches/minecraft/net/minecraft/util/Session.java.patch +++ b/patches/minecraft/net/minecraft/util/Session.java.patch @@ -20,3 +20,12 @@ this.field_74286_b = p_i1098_1_; this.field_148257_b = p_i1098_2_; this.field_148258_c = p_i1098_3_; +@@ -54,7 +67,7 @@ + } + catch (IllegalArgumentException illegalargumentexception) + { +- return new GameProfile((UUID)null, this.func_111285_a()); ++ return new GameProfile(net.minecraft.entity.player.EntityPlayer.func_146094_a(new GameProfile((UUID)null, this.func_111285_a())), this.func_111285_a()); + } + } +