From a5758fa771d6c6e36bf80b0b9ebec4da1c3e7eaa Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 12 May 2019 11:22:14 +1000 Subject: [PATCH] SPIGOT-4911: Cannot add firework rocket as charged projectile in crossbow By: md_5 --- .../src/main/java/org/bukkit/inventory/meta/CrossbowMeta.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/inventory/meta/CrossbowMeta.java b/paper-api/src/main/java/org/bukkit/inventory/meta/CrossbowMeta.java index 84107fa21f..454023d15f 100644 --- a/paper-api/src/main/java/org/bukkit/inventory/meta/CrossbowMeta.java +++ b/paper-api/src/main/java/org/bukkit/inventory/meta/CrossbowMeta.java @@ -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); }