Change parameter description for firework boost

This commit is contained in:
Pedro 2025-11-24 16:19:22 -03:00 committed by GitHub
parent 35fec73599
commit 50d80e1ff2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3611,7 +3611,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
* 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 itemstack to boost the player with
* @return The {@link Firework} boosting the Player or null if the spawning of the entity was cancelled
* @throws IllegalStateException if {@link #isGliding()} is false
* @deprecated use {@link HumanEntity#fireworkBoost(ItemStack)} instead. Note that this method <b>does not</b>