mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
15 lines
321 B
PHP
15 lines
321 B
PHP
<?php
|
|
|
|
class WoodDoorBlock extends DoorBlock{
|
|
public function __construct($meta = 0){
|
|
parent::__construct(WOOD_DOOR_BLOCK, $meta, "Wood Door Block");
|
|
$this->isActivable = true;
|
|
$this->hardness = 15;
|
|
}
|
|
|
|
public function getDrops(Item $item, Player $player){
|
|
return array(
|
|
array(WOODEN_DOOR, 0, 1),
|
|
);
|
|
}
|
|
}
|