From 3c938c03c713e3c7e476d693fb40eed03c08d820 Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Sun, 8 Jun 2014 13:07:42 +0100 Subject: [PATCH] Fix BaseComponent calling the wrong method when inheriting from another BaseComponent (Fixes #1049) --- api/src/main/java/net/md_5/bungee/api/chat/BaseComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/net/md_5/bungee/api/chat/BaseComponent.java b/api/src/main/java/net/md_5/bungee/api/chat/BaseComponent.java index 936e6867..66d7a1e1 100644 --- a/api/src/main/java/net/md_5/bungee/api/chat/BaseComponent.java +++ b/api/src/main/java/net/md_5/bungee/api/chat/BaseComponent.java @@ -71,7 +71,7 @@ public abstract class BaseComponent setColor( old.getColorRaw() ); setBold( old.isBoldRaw() ); setItalic( old.isItalicRaw() ); - setUnderlined( old.isUnderlined() ); + setUnderlined( old.isUnderlinedRaw() ); setStrikethrough( old.isStrikethroughRaw() ); setObfuscated( old.isObfuscatedRaw() ); setClickEvent( old.getClickEvent() );