geforkt von SteamWar/BungeeCore
Fix Tablist display names for SWTSI
Dieser Commit ist enthalten in:
Ursprung
28f09e54b9
Commit
c017fd23a1
@ -217,6 +217,8 @@ public class Tablist extends MessageToMessageDecoder<PacketWrapper> {
|
||||
if (playerNotOnTeamserver) {
|
||||
item.setDisplayName(new TextComponent());
|
||||
item.setListed(false);
|
||||
} else if (item.getDisplayName() == null) {
|
||||
item.setDisplayName(new TextComponent(item.getUsername()));
|
||||
}
|
||||
item.setPublicKey(null);
|
||||
if(!player.getUniqueId().equals(item.getUuid()) && item.getGamemode() == 3)
|
||||
@ -270,6 +272,8 @@ public class Tablist extends MessageToMessageDecoder<PacketWrapper> {
|
||||
if (playerNotOnTeamserver) {
|
||||
item.setDisplayName(new TextComponent());
|
||||
item.setListed(false);
|
||||
} else if (item.getDisplayName() == null) {
|
||||
item.setDisplayName(new TextComponent(item.getUsername()));
|
||||
}
|
||||
item.setPublicKey(null);
|
||||
if(!player.getUniqueId().equals(item.getUuid()) && item.getGamemode() == 3)
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren