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 efffa905..ae69b231 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 @@ -65,7 +65,7 @@ public class BaseComponentSerializer JsonObject event = object.getAsJsonObject( "clickEvent" ); component.setClickEvent( new ClickEvent( ClickEvent.Action.valueOf( event.get( "action" ).getAsString().toUpperCase( Locale.ROOT ) ), - event.get( "value" ).getAsString() ) ); + ( event.has( "value" ) ) ? event.get( "value" ).getAsString() : "" ) ); } if ( object.has( "hoverEvent" ) ) {