Fixed stupid bug with Arrows

This commit is contained in:
Dylan K. Taylor 2017-05-09 21:09:34 +01:00
parent df577bddc2
commit 713f3facf9

View File

@ -36,6 +36,8 @@ class Arrow extends Projectile{
protected $gravity = 0.05;
protected $drag = 0.01;
protected $damage = 2;
public function __construct(Level $level, CompoundTag $nbt, Entity $shootingEntity = null, bool $critical = false){
parent::__construct($level, $nbt, $shootingEntity);
$this->setCritical($critical);