From 0294fc5f207f491ec40b75877ddbdbf2ba9193e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20K=C3=BCpper?= Date: Wed, 2 Mar 2016 17:01:35 +0100 Subject: [PATCH] Manually add the setDescriptionComponent(BaseComponent) Lombok won't generate because of the overloading of setDescription(String). --- api/src/main/java/net/md_5/bungee/api/ServerPing.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/src/main/java/net/md_5/bungee/api/ServerPing.java b/api/src/main/java/net/md_5/bungee/api/ServerPing.java index f3e7a56ed..4eb04cd13 100644 --- a/api/src/main/java/net/md_5/bungee/api/ServerPing.java +++ b/api/src/main/java/net/md_5/bungee/api/ServerPing.java @@ -145,6 +145,10 @@ public class ServerPing return BaseComponent.toLegacyText( description ); } + public void setDescriptionComponent(BaseComponent description) { + this.description = description; + } + public BaseComponent getDescriptionComponent() { return description; }