From 4e99a32537fa9312f572f90a29f8172a66762a8f Mon Sep 17 00:00:00 2001 From: Alex_qp Date: Sun, 10 May 2020 09:24:40 +1000 Subject: [PATCH] #2808: TextComponent.duplicate should return TextComponent --- chat/src/main/java/net/md_5/bungee/api/chat/TextComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat/src/main/java/net/md_5/bungee/api/chat/TextComponent.java b/chat/src/main/java/net/md_5/bungee/api/chat/TextComponent.java index b1c6df143..e856d05fa 100644 --- a/chat/src/main/java/net/md_5/bungee/api/chat/TextComponent.java +++ b/chat/src/main/java/net/md_5/bungee/api/chat/TextComponent.java @@ -186,7 +186,7 @@ public final class TextComponent extends BaseComponent * @return the duplicate of this TextComponent. */ @Override - public BaseComponent duplicate() + public TextComponent duplicate() { return new TextComponent( this ); }