diff --git a/patches/api/Fix-Spigot-annotation-mistakes.patch b/patches/api/Fix-Spigot-annotation-mistakes.patch index 720fd6689d..b9bbe2e621 100644 --- a/patches/api/Fix-Spigot-annotation-mistakes.patch +++ b/patches/api/Fix-Spigot-annotation-mistakes.patch @@ -339,6 +339,29 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 public boolean canSee(@NotNull Entity entity); /** +diff --git a/src/main/java/org/bukkit/entity/Projectile.java b/src/main/java/org/bukkit/entity/Projectile.java +index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 +--- a/src/main/java/org/bukkit/entity/Projectile.java ++++ b/src/main/java/org/bukkit/entity/Projectile.java +@@ -0,0 +0,0 @@ public interface Projectile extends Entity { + * If a small fireball does not bounce it will set the target on fire. + * + * @return true if it should bounce. ++ * @deprecated Does not do anything + */ ++ @Deprecated(forRemoval = true) // Paper + public boolean doesBounce(); + + /** +@@ -0,0 +0,0 @@ public interface Projectile extends Entity { + * something. + * + * @param doesBounce whether or not it should bounce. ++ * @deprecated Does not do anything + */ ++ @Deprecated(forRemoval = true) // Paper + public void setBounce(boolean doesBounce); + } diff --git a/src/main/java/org/bukkit/event/enchantment/PrepareItemEnchantEvent.java b/src/main/java/org/bukkit/event/enchantment/PrepareItemEnchantEvent.java index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 --- a/src/main/java/org/bukkit/event/enchantment/PrepareItemEnchantEvent.java