mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 15:49:00 +01:00
Fix silly Javadocs in Bukkit.broadcast
This commit is contained in:
parent
06e483502f
commit
903001bbea
1 changed files with 4 additions and 3 deletions
|
@ -3,6 +3,7 @@ From: Zach Brown <1254957+zachbr@users.noreply.github.com>
|
||||||
Date: Mon, 29 Feb 2016 19:54:32 -0600
|
Date: Mon, 29 Feb 2016 19:54:32 -0600
|
||||||
Subject: [PATCH] Graduate bungeecord chat API from spigot subclasses
|
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
|
diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
|
@ -14,16 +15,16 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
|
|
||||||
+ // Paper start
|
+ // 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) {
|
+ public static void broadcast(net.md_5.bungee.api.chat.BaseComponent component) {
|
||||||
+ server.broadcast(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
|
+ * @param components the components to send
|
||||||
+ */
|
+ */
|
||||||
|
|
Loading…
Reference in a new issue