mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 17:52:28 +01:00
#1263: Remove unused implementation of AbstractProjectile#doesBounce() and #setBounce()
By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
parent
1d153bf51a
commit
215777a5f2
1 changed files with 2 additions and 7 deletions
|
@ -5,21 +5,16 @@ import org.bukkit.entity.Projectile;
|
|||
|
||||
public abstract class AbstractProjectile extends CraftEntity implements Projectile {
|
||||
|
||||
private boolean doesBounce;
|
||||
|
||||
public AbstractProjectile(CraftServer server, net.minecraft.world.entity.Entity entity) {
|
||||
super(server, entity);
|
||||
doesBounce = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean doesBounce() {
|
||||
return doesBounce;
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setBounce(boolean doesBounce) {
|
||||
this.doesBounce = doesBounce;
|
||||
}
|
||||
public void setBounce(boolean doesBounce) {}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue