geforkt von SteamWar/BungeeCore
Debug tablist
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
9de6b8602d
Commit
2d85746d9f
@ -37,7 +37,6 @@ import net.md_5.bungee.protocol.Either;
|
||||
import net.md_5.bungee.protocol.PacketWrapper;
|
||||
import net.md_5.bungee.protocol.ProtocolConstants;
|
||||
import net.md_5.bungee.protocol.packet.*;
|
||||
import net.md_5.bungee.util.ChatComponentTransformer;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
@ -306,7 +305,8 @@ public class Tablist extends MessageToMessageDecoder<PacketWrapper> {
|
||||
}
|
||||
|
||||
private BaseComponent wrapName(String name) {
|
||||
return ChatComponentTransformer.getInstance().transform(player, true, TextComponent.fromArray(TextComponent.fromLegacyText(name)));
|
||||
System.out.println(TextComponent.fromArray(TextComponent.fromLegacyText(name)).toString());
|
||||
return TextComponent.fromArray(TextComponent.fromLegacyText(name));
|
||||
}
|
||||
|
||||
private void sendTabPacket(List<PlayerListItem.Item> items, PlayerListItem.Action action) { //Breaks in 1.19.3 if action != UPDATE_DISPLAY_NAME, ADD_PLAYER or REMOVE_PLAYER
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren