#913: Deprecate Projectile#doesBounce() and #setBounce()

They do nothing.

By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
Bukkit/Spigot
2023-09-28 06:46:50 +10:00
parent ac251a9ed9
commit 3c1bbc1492

View File

@@ -25,11 +25,11 @@ public interface Projectile extends Entity {
/** /**
* Determine if this projectile should bounce or not when it hits. * Determine if this projectile should bounce or not when it hits.
* <p>
* If a small fireball does not bounce it will set the target on fire.
* *
* @return true if it should bounce. * @return true if it should bounce.
* @deprecated does not do anything
*/ */
@Deprecated
public boolean doesBounce(); public boolean doesBounce();
/** /**
@@ -37,6 +37,8 @@ public interface Projectile extends Entity {
* something. * something.
* *
* @param doesBounce whether or not it should bounce. * @param doesBounce whether or not it should bounce.
* @deprecated does not do anything
*/ */
@Deprecated
public void setBounce(boolean doesBounce); public void setBounce(boolean doesBounce);
} }