Added missing properties for several blocks

This commit is contained in:
Dylan K. Taylor
2017-12-13 16:28:21 +00:00
parent 717b36a983
commit 6e30d23254
15 changed files with 113 additions and 0 deletions

View File

@ -23,6 +23,9 @@ declare(strict_types=1);
namespace pocketmine\block;
use pocketmine\item\Item;
use pocketmine\item\ItemFactory;
class Tripwire extends Flowable{
protected $id = self::TRIPWIRE;
@ -34,4 +37,10 @@ class Tripwire extends Flowable{
public function getName() : string{
return "Tripwire";
}
public function getDropsForCompatibleTool(Item $item) : array{
return [
ItemFactory::get(Item::STRING)
];
}
}