1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-18 19:24:10 +01:00

Merge pull request from Searchndstroy/master

Fix silly Javadocs in Bukkit.broadcast(BaseComponent) and Bukkit.broadcast(BaseComponent...)
This commit is contained in:
Zach Brown 2016-04-16 15:34:37 -05:00
commit 08a99f183a

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
+ */