Removed TestArrow from the demo scene

This commit is contained in:
Konstantin Shandurenko 2021-02-25 12:02:40 +03:00
parent 8a57918fe9
commit 9e6aaa1088

View File

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