#1263: Remove unused implementation of AbstractProjectile#doesBounce() and #setBounce()

By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
CraftBukkit/Spigot 2023-09-28 06:46:54 +10:00
parent 1d153bf51a
commit 215777a5f2

View file

@ -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) {}
}