Fix silly Javadocs in Bukkit.broadcast

This commit is contained in:
Spottedleaf 2016-04-16 09:23:37 -07:00
parent 06e483502f
commit 903001bbea

View file

@ -3,6 +3,7 @@ From: Zach Brown <1254957+zachbr@users.noreply.github.com>
Date: Mon, 29 Feb 2016 19:54:32 -0600
Subject: [PATCH] Graduate bungeecord chat API from spigot subclasses
Change Javadoc to be accurate
diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
@ -14,16 +15,16 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ // Paper start
+ /**
+ * Sends the component to the player
+ * Sends the component to all online players.
+ *
+ * @param component the components to send
+ * @param component the component to send
+ */
+ public static void broadcast(net.md_5.bungee.api.chat.BaseComponent component) {
+ server.broadcast(component);
+ }
+
+ /**
+ * Sends an array of components as a single message to the player
+ * Sends an array of components as a single message to all online players.
+ *
+ * @param components the components to send
+ */