mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-25 18:17:38 +01:00
#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