From a12bb4ceadad34b3cfb3edcfabc1b24f593ad85b Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 29 Dec 2018 13:01:53 +1100 Subject: [PATCH] Clarify boolean of connect callback --- .../java/net/md_5/bungee/api/connection/ProxiedPlayer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java b/api/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java index e3e999b0..867e4428 100644 --- a/api/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java +++ b/api/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java @@ -107,7 +107,7 @@ public interface ProxiedPlayer extends Connection, CommandSender * @param target the new server to connect to * @param callback the method called when the connection is complete, or * when an exception is encountered. The boolean parameter denotes success - * or failure. + * (true) or failure (false). */ void connect(ServerInfo target, Callback callback); @@ -119,7 +119,7 @@ public interface ProxiedPlayer extends Connection, CommandSender * @param target the new server to connect to * @param callback the method called when the connection is complete, or * when an exception is encountered. The boolean parameter denotes success - * or failure. + * (true) or failure (false). * @param reason the reason for connecting to the new server */ void connect(ServerInfo target, Callback callback, ServerConnectEvent.Reason reason);