mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
SPIGOT-4911: Cannot add firework rocket as charged projectile in crossbow
This commit is contained in:
parent
39ce53e961
commit
d1ecf79c7c
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…
Add table
Reference in a new issue