From 5efc4a5def5490908473ba6fdcc02e63b3ef3340 Mon Sep 17 00:00:00 2001 From: filoghost Date: Tue, 30 Dec 2014 13:43:25 +0100 Subject: [PATCH] Add toString() --- .../bridge/bungeecord/serverpinger/ServerAddress.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/HolographicDisplays/Plugin/com/gmail/filoghost/holographicdisplays/bridge/bungeecord/serverpinger/ServerAddress.java b/HolographicDisplays/Plugin/com/gmail/filoghost/holographicdisplays/bridge/bungeecord/serverpinger/ServerAddress.java index d3d2ccc6..c0c2850c 100644 --- a/HolographicDisplays/Plugin/com/gmail/filoghost/holographicdisplays/bridge/bungeecord/serverpinger/ServerAddress.java +++ b/HolographicDisplays/Plugin/com/gmail/filoghost/holographicdisplays/bridge/bungeecord/serverpinger/ServerAddress.java @@ -17,5 +17,10 @@ public class ServerAddress { public int getPort() { return port; } + + @Override + public String toString() { + return ip + ":" + port; + } }