13
0
geforkt von Mirrors/Paper

Correct the return value of getPlayerListName

By: Thinkofdeath <thinkofdeath@spigotmc.org>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2014-11-30 10:30:32 +00:00
Ursprung 7f39ea8c4c
Commit a621457aeb

Datei anzeigen

@ -176,7 +176,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
@Override
public String getPlayerListName() {
return CraftChatMessage.fromComponent(getHandle().listName);
return getHandle().listName == null ? getName() : CraftChatMessage.fromComponent(getHandle().listName);
}
@Override