From 9e6aaa10882fe73d2b7c72382f25fd5a7e7679a1 Mon Sep 17 00:00:00 2001 From: Konstantin Shandurenko Date: Thu, 25 Feb 2021 12:02:40 +0300 Subject: [PATCH] Removed TestArrow from the demo scene --- src/test/java/demo/entity/TestArrow.java | 25 ------------------------ 1 file changed, 25 deletions(-) delete mode 100644 src/test/java/demo/entity/TestArrow.java diff --git a/src/test/java/demo/entity/TestArrow.java b/src/test/java/demo/entity/TestArrow.java deleted file mode 100644 index fef5a70f5..000000000 --- a/src/test/java/demo/entity/TestArrow.java +++ /dev/null @@ -1,25 +0,0 @@ -package demo.entity; - -import net.minestom.server.entity.EntityType; -import net.minestom.server.entity.LivingEntity; -import net.minestom.server.entity.ObjectEntity; -import net.minestom.server.utils.Position; - -public class TestArrow extends ObjectEntity { - - private LivingEntity shooter; - - public TestArrow(LivingEntity shooter, Position spawnPosition) { - super(EntityType.ARROW, spawnPosition); - this.shooter = shooter; - } - - @Override - public int getObjectData() { - return shooter.getEntityId() + 1; - } - - public LivingEntity getShooter() { - return shooter; - } -}