Removes some references to deprecated methods/types (#9043)
This commit is contained in:
@@ -3229,7 +3229,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ // Paper start
|
||||
+ private final java.util.Locale adventure$locale;
|
||||
+ /**
|
||||
+ * @see Player#getLocale()
|
||||
+ * @see Player#locale()
|
||||
+ *
|
||||
+ * @return the player's new locale
|
||||
+ */
|
||||
@@ -3556,6 +3556,17 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
--- a/src/main/java/org/bukkit/event/server/BroadcastMessageEvent.java
|
||||
+++ b/src/main/java/org/bukkit/event/server/BroadcastMessageEvent.java
|
||||
@@ -0,0 +0,0 @@ import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* Event triggered for server broadcast messages such as from
|
||||
- * {@link org.bukkit.Server#broadcast(String, String)}.
|
||||
+ * {@link org.bukkit.Server#broadcast(net.kyori.adventure.text.Component)} (String, String)}.
|
||||
*
|
||||
- * <b>This event behaves similarly to {@link AsyncPlayerChatEvent} in that it
|
||||
+ * <b>This event behaves similarly to {@link io.papermc.paper.event.player.AsyncChatEvent} in that it
|
||||
* should be async if fired from an async thread. Please see that event for
|
||||
* further information.</b>
|
||||
*/
|
||||
public class BroadcastMessageEvent extends ServerEvent implements Cancellable {
|
||||
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
Reference in New Issue
Block a user