Fetch name of player from GameProfile instead of using getDisplayName.

This commit is contained in:
Qowyn committed 2014-10-02 11:38:33 +02:00
1 parent 6c99b00b0f
commit 2aebb960f6
1 file changed
+1 -1
+1 -1
View File
@@ -39,7 +39,7 @@ public class DebugHelper
private static void handleConsoleDebug (DebugData data)
{
String player = data.player.getDisplayName();//.username;
String player = data.player.getGameProfile().getName();
String prefix = "[" + player + ":" + data.cl.getSimpleName() + "] ";
for (String str : data.strings)
{