mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-23 18:55:22 +01:00
Fix BaseComponent.duplicate() ignoring extra
This commit is contained in:
parent
8622cf3af4
commit
70564d9f44
@ -78,9 +78,9 @@ public abstract class BaseComponent
|
|||||||
setObfuscated( old.isObfuscatedRaw() );
|
setObfuscated( old.isObfuscatedRaw() );
|
||||||
setClickEvent( old.getClickEvent() );
|
setClickEvent( old.getClickEvent() );
|
||||||
setHoverEvent( old.getHoverEvent() );
|
setHoverEvent( old.getHoverEvent() );
|
||||||
if ( extra != null )
|
if ( old.getExtra() != null )
|
||||||
{
|
{
|
||||||
for ( BaseComponent component : extra )
|
for ( BaseComponent component : old.getExtra() )
|
||||||
{
|
{
|
||||||
addExtra( component.duplicate() );
|
addExtra( component.duplicate() );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user