mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 23:07:40 +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
@ -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 New Issue
Block a user