#2808: TextComponent.duplicate should return TextComponent
This commit is contained in:
parent
3373eb864d
commit
4e99a32537
@ -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 );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user