From a56bbe38b2ae907d04c0a0c6ab957b8c1d61f9d8 Mon Sep 17 00:00:00 2001 From: Jonas Konrad Date: Tue, 22 Apr 2014 15:23:46 +0200 Subject: [PATCH] toString for BungeeServerInfo --- proxy/src/main/java/net/md_5/bungee/BungeeServerInfo.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeServerInfo.java b/proxy/src/main/java/net/md_5/bungee/BungeeServerInfo.java index 3180d61a..6613016c 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeServerInfo.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeServerInfo.java @@ -17,6 +17,7 @@ import java.util.Queue; import lombok.Getter; import lombok.RequiredArgsConstructor; import lombok.Synchronized; +import lombok.ToString; import net.md_5.bungee.api.Callback; import net.md_5.bungee.api.CommandSender; import net.md_5.bungee.api.ProxyServer; @@ -31,6 +32,7 @@ import net.md_5.bungee.protocol.DefinedPacket; import net.md_5.bungee.protocol.packet.PluginMessage; @RequiredArgsConstructor +@ToString(of = { "name", "address", "restricted" }) public class BungeeServerInfo implements ServerInfo {