mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
Added new Block properties (Block::isSolid, Block::isFullBlock)
This commit is contained in:
@ -29,6 +29,7 @@ class BedBlock extends TransparentBlock{
|
||||
public function __construct($type = 0){
|
||||
parent::__construct(BED_BLOCK, $type, "Bed Block");
|
||||
$this->isActivable = true;
|
||||
$this->isFullBlock = false;
|
||||
}
|
||||
|
||||
public function onActivate(Item $item, Player $player){
|
||||
|
Reference in New Issue
Block a user