Deprecate Player#boostElytra (#9899)
The Paper method was chosen for deprecation because it was more restrictive in that it has an isGliding check.
This commit is contained in:
@@ -9,10 +9,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
--- a/src/main/java/org/bukkit/entity/Player.java
|
||||
+++ b/src/main/java/org/bukkit/entity/Player.java
|
||||
@@ -0,0 +0,0 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||
* @throws IllegalArgumentException If the level is negative or greater than {@code 4} (i.e. not within {@code [0, 4]}).
|
||||
*/
|
||||
void sendOpLevel(byte level);
|
||||
+
|
||||
// Paper end - sendOpLevel API
|
||||
|
||||
+ // Paper start - custom chat completions API
|
||||
+ /**
|
||||
+ * Adds custom chat completion suggestions that the client will
|
||||
+ * suggest when typing in chat.
|
||||
@@ -35,6 +35,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ */
|
||||
+ @Deprecated(since = "1.20.1")
|
||||
+ void removeAdditionalChatCompletions(@NotNull java.util.Collection<String> completions);
|
||||
// Paper end
|
||||
|
||||
+ // Paper end - custom chat completions API
|
||||
+
|
||||
// Spigot start
|
||||
public class Spigot extends Entity.Spigot {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user