#2808: TextComponent.duplicate should return TextComponent

This commit is contained in:
Alex_qp 2020-05-10 09:24:40 +10:00 committed by md_5
parent 3373eb864d
commit 4e99a32537

View File

@ -186,7 +186,7 @@ public final class TextComponent extends BaseComponent
* @return the duplicate of this TextComponent. * @return the duplicate of this TextComponent.
*/ */
@Override @Override
public BaseComponent duplicate() public TextComponent duplicate()
{ {
return new TextComponent( this ); return new TextComponent( this );
} }