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

This commit is contained in:
Parker Hawke 2023-09-28 06:46:54 +10:00 committed by md_5
parent 251af0da31
commit 851a32cffc
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -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;
}
} }