diff options
Diffstat (limited to 'patches/api/0217-Player-elytra-boost-API.patch')
-rw-r--r-- | patches/api/0217-Player-elytra-boost-API.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/api/0217-Player-elytra-boost-API.patch b/patches/api/0217-Player-elytra-boost-API.patch index 492cfd1927..d8fc3394c6 100644 --- a/patches/api/0217-Player-elytra-boost-API.patch +++ b/patches/api/0217-Player-elytra-boost-API.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Player elytra boost API diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java -index c6ee16a347dc10c718c2d277dba1eff76f7edbbf..873a7bafe2631d012d00eb813889b31ec02d0e30 100644 +index c1225aa642eba0e0553131034ee7c55e78b13d10..cfdf406f9b65710438949cc8effe8c3641fe69b7 100644 --- a/src/main/java/org/bukkit/entity/Player.java +++ b/src/main/java/org/bukkit/entity/Player.java @@ -2717,6 +2717,19 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM @@ -18,10 +18,10 @@ index c6ee16a347dc10c718c2d277dba1eff76f7edbbf..873a7bafe2631d012d00eb813889b31e + * If the creation of the entity is cancelled, no boosting is done. + * This method does not fire {@link com.destroystokyo.paper.event.player.PlayerElytraBoostEvent}. + * -+ * @param firework The {@link Material#FIREWORK_ROCKET} to boost the player with ++ * @param firework The {@link ItemType#FIREWORK_ROCKET} to boost the player with + * @return The {@link Firework} boosting the Player or null if the spawning of the entity was cancelled + * @throws IllegalArgumentException if {@link #isGliding()} is false -+ * or if the {@code firework} isn't a {@link Material#FIREWORK_ROCKET} ++ * or if the {@code firework} isn't a {@link ItemType#FIREWORK_ROCKET} + */ + @Nullable + Firework boostElytra(@NotNull ItemStack firework); |