1
0
mirror of https://github.com/pmmp/PocketMine-MP.git synced 2025-05-23 05:54:36 +00:00

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

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