delete wrong/useless code
This commit is contained in:
parent
11358d3235
commit
26ca2d6d3a
1 changed files with 1 additions and 11 deletions
|
|
@ -4,9 +4,7 @@
|
|||
namespace pocketmine\block;
|
||||
|
||||
use pocketmine\item\Item;
|
||||
use pocketmine\item\Tool;
|
||||
use pocketmine\item\enchantment\enchantment;
|
||||
use pocketmine\Player;
|
||||
|
||||
class BrownMushroomBlock extends Solid{
|
||||
|
||||
|
|
@ -14,7 +12,7 @@ class BrownMushroomBlock extends Solid{
|
|||
|
||||
protected $id = self::BROWN_MUSHROOM_BLOCK;
|
||||
|
||||
public function __construct($meta = 15){
|
||||
public function __construct($meta = 14){
|
||||
$this->meta = $meta;
|
||||
}
|
||||
|
||||
|
|
@ -22,14 +20,6 @@ class BrownMushroomBlock extends Solid{
|
|||
return true;
|
||||
}
|
||||
|
||||
public function getHardness() {
|
||||
return 0.5;
|
||||
}
|
||||
|
||||
public function getToolType(){
|
||||
return Tool::TYPE_AXE;
|
||||
}
|
||||
|
||||
public function getName() : string{
|
||||
return "Brown Mushroom Block";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue