From 3188d946b363210e7f0773e95a5da75c4c7e9cde Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 4 Aug 2014 16:15:46 +1000 Subject: [PATCH] Fix javadoc --- .../main/java/net/md_5/bungee/api/config/ServerInfo.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/api/src/main/java/net/md_5/bungee/api/config/ServerInfo.java b/api/src/main/java/net/md_5/bungee/api/config/ServerInfo.java index f1273f2c..e9f1ff66 100644 --- a/api/src/main/java/net/md_5/bungee/api/config/ServerInfo.java +++ b/api/src/main/java/net/md_5/bungee/api/config/ServerInfo.java @@ -66,12 +66,13 @@ public interface ServerInfo * * @param channel the channel to send this data via * @param data the data to send - * @param realTime fail fast if the message cannot be sent immediately. + * @param queue hold the message for later sending if it cannot be sent + * immediately. * @return true if the message was sent immediately, - * false otherwise (if realTime is true, it has been queued, if - * it is false it has been discarded). + * false otherwise if queue is true, it has been queued, if it + * is false it has been discarded. */ - boolean sendData(String channel, byte[] data, boolean realTime); + boolean sendData(String channel, byte[] data, boolean queue); /** * Asynchronously gets the current player count on this server.