Fixed Clientside GameProfile UUID being null on offline mode

This commit is contained in:
nekosune committed 2014-09-10 00:24:36 +01:00
1 parent 69700d2227
commit f9c68bba81
1 file changed
+9
@@ -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());
}
}