Added block break tool type, fixed falling sand, fixed duplicated jungle leaves

This commit is contained in:
Shoghi Cervantes
2015-07-27 20:15:34 +02:00
parent 866fde5351
commit 0380e9009a
75 changed files with 378 additions and 4 deletions

View File

@ -22,8 +22,9 @@
namespace pocketmine\block;
use pocketmine\item\Item;
use pocketmine\item\Tool;
class Redstone extends Transparent{
class Redstone extends Solid{
protected $id = self::REDSTONE_BLOCK;
@ -35,6 +36,10 @@ class Redstone extends Transparent{
return 5;
}
public function getToolType(){
return Tool::TYPE_PICKAXE;
}
public function getName(){
return "Redstone Block";
}