SteamWar/SpigotCore
Archiviert
13
0

TextComponentApi
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Chaoscaot 2022-04-16 17:42:22 +02:00
Ursprung 68ef7999fd
Commit 58c74a72f4

Datei anzeigen

@ -37,20 +37,20 @@ public class SWTextComponent {
public SWTextComponent() {
this.textComponent = new TextComponent();
this.root = this.textComponent;
this.root = new TextComponent();
}
public SWTextComponent(String text) {
this.textComponent = new TextComponent(TextComponent.fromLegacyText(text));
this.root = this.textComponent;
this.root = new TextComponent(TextComponent.fromLegacyText(text));
this.textComponent = new TextComponent();
}
public SWTextComponent(String text, Message message) {
this.textComponent = new TextComponent(TextComponent.fromLegacyText(text));
this.root = this.textComponent;
this.root = new TextComponent(TextComponent.fromLegacyText(text));
this.textComponent = new TextComponent();
this.message = message;
}
public SWTextComponent(Message message) {
this.textComponent = new TextComponent();
this.root = this.textComponent;
this.root = new TextComponent();
this.message = message;
}