mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-20 23:46:57 +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 {
|
public abstract class AbstractProjectile extends CraftEntity implements Projectile {
|
||||||
|
|
||||||
private boolean doesBounce;
|
|
||||||
|
|
||||||
public AbstractProjectile(CraftServer server, net.minecraft.world.entity.Entity entity) {
|
public AbstractProjectile(CraftServer server, net.minecraft.world.entity.Entity entity) {
|
||||||
super(server, entity);
|
super(server, entity);
|
||||||
doesBounce = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean doesBounce() {
|
public boolean doesBounce() {
|
||||||
return doesBounce;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setBounce(boolean doesBounce) {
|
public void setBounce(boolean doesBounce) {}
|
||||||
this.doesBounce = doesBounce;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue