mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 18:50:51 +01:00
SPIGOT-4911: Cannot add firework rocket as charged projectile in crossbow
By: md_5 <git@md-5.net>
This commit is contained in:
parent
8678c2acfd
commit
a5758fa771
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,8 @@ public interface CrossbowMeta extends ItemMeta {
|
|||
* Adds a charged projectile to this item.
|
||||
*
|
||||
* @param item projectile
|
||||
* @throws IllegalArgumentException if the projectile is not an arrow
|
||||
* @throws IllegalArgumentException if the projectile is not an arrow or
|
||||
* firework rocket
|
||||
*/
|
||||
void addChargedProjectile(@NotNull ItemStack item);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue