From 713f3facf94cf54258ea623b3017a791329ec7b5 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 9 May 2017 21:09:34 +0100 Subject: [PATCH] Fixed stupid bug with Arrows --- src/pocketmine/entity/Arrow.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pocketmine/entity/Arrow.php b/src/pocketmine/entity/Arrow.php index 14cba673c..75c401a65 100644 --- a/src/pocketmine/entity/Arrow.php +++ b/src/pocketmine/entity/Arrow.php @@ -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);