From 215777a5f2739ac2324c0e15160f7dfaeb6128f9 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Thu, 28 Sep 2023 06:46:54 +1000 Subject: [PATCH] #1263: Remove unused implementation of AbstractProjectile#doesBounce() and #setBounce() By: Parker Hawke --- .../bukkit/craftbukkit/entity/AbstractProjectile.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/AbstractProjectile.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/AbstractProjectile.java index b3c04f87ea..91c2d0b40d 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/AbstractProjectile.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/AbstractProjectile.java @@ -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) {} }