#1263: Remove unused implementation of AbstractProjectile#doesBounce() and #setBounce()
This commit is contained in:
parent
251af0da31
commit
851a32cffc
@ -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…
x
Reference in New Issue
Block a user