diff --git a/SpigotCore_Main/src/de/steamwar/message/SWTextComponent.java b/SpigotCore_Main/src/de/steamwar/message/SWTextComponent.java index 589c0d0..8473fef 100644 --- a/SpigotCore_Main/src/de/steamwar/message/SWTextComponent.java +++ b/SpigotCore_Main/src/de/steamwar/message/SWTextComponent.java @@ -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; }