mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-23 13:29:49 +00:00
Fetch name of player from GameProfile instead of using getDisplayName.
This commit is contained in:
1 parent
6c99b00b0f
commit
2aebb960f6
1 file changed
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user