mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +01:00
#913: Deprecate Projectile#doesBounce() and #setBounce()
They do nothing. By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
parent
ac251a9ed9
commit
3c1bbc1492
@ -25,11 +25,11 @@ public interface Projectile extends Entity {
|
||||
|
||||
/**
|
||||
* 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.
|
||||
* @deprecated does not do anything
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean doesBounce();
|
||||
|
||||
/**
|
||||
@ -37,6 +37,8 @@ public interface Projectile extends Entity {
|
||||
* something.
|
||||
*
|
||||
* @param doesBounce whether or not it should bounce.
|
||||
* @deprecated does not do anything
|
||||
*/
|
||||
@Deprecated
|
||||
public void setBounce(boolean doesBounce);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user