Deprecate set/doesBounce from Projectile (#7800)
This commit is contained in:
parent
ca623865b0
commit
9b492cff36
|
@ -339,6 +339,29 @@ index 98b856d068c765a277d1e218a04e05588e18fdcb..2c3aba0b8d89d74bfa22ae01232712c8
|
|||
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 c854860c13912f9a8707eb825cca23763d1323a6..a523fca4baab447181ef91df67fa69b24e010149 100644
|
||||
--- a/src/main/java/org/bukkit/entity/Projectile.java
|
||||
+++ b/src/main/java/org/bukkit/entity/Projectile.java
|
||||
@@ -29,7 +29,9 @@ 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();
|
||||
|
||||
/**
|
||||
@@ -37,6 +39,8 @@ 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 2ff1b1308571d8f8056d3359e8a8ba4a589c3726..8eb6f4090578d9e1b12aff813840108fdeece730 100644
|
||||
--- a/src/main/java/org/bukkit/event/enchantment/PrepareItemEnchantEvent.java
|
||||
|
|
Loading…
Reference in New Issue