From 78ea41015f6d67f47cfcc8b3e38927d89ba166f4 Mon Sep 17 00:00:00 2001 From: Jonas Konrad Date: Sat, 14 Mar 2015 22:10:02 +0100 Subject: [PATCH] Fix component deserialization on obfuscated and strikethrough tags --- .../java/net/md_5/bungee/chat/BaseComponentSerializer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chat/src/main/java/net/md_5/bungee/chat/BaseComponentSerializer.java b/chat/src/main/java/net/md_5/bungee/chat/BaseComponentSerializer.java index bf17391f..cb1d24a2 100644 --- a/chat/src/main/java/net/md_5/bungee/chat/BaseComponentSerializer.java +++ b/chat/src/main/java/net/md_5/bungee/chat/BaseComponentSerializer.java @@ -35,11 +35,11 @@ public class BaseComponentSerializer } if ( object.has( "strikethrough" ) ) { - component.setUnderlined( object.get( "strikethrough" ).getAsBoolean() ); + component.setStrikethrough( object.get( "strikethrough" ).getAsBoolean() ); } if ( object.has( "obfuscated" ) ) { - component.setUnderlined( object.get( "obfuscated" ).getAsBoolean() ); + component.setObfuscated( object.get( "obfuscated" ).getAsBoolean() ); } if ( object.has( "extra" ) ) {