mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
Added correct clay blocks
This commit is contained in:
parent
f224c26084
commit
5e1dddaba0
2 changed files with 7 additions and 2 deletions
|
|
@ -134,5 +134,5 @@ class ChestBlock extends TransparentBlock{
|
||||||
return array(
|
return array(
|
||||||
array($this->id, 0, 1),
|
array($this->id, 0, 1),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -29,5 +29,10 @@ class ClayBlock extends SolidBlock{
|
||||||
public function __construct(){
|
public function __construct(){
|
||||||
parent::__construct(CLAY_BLOCK, 0, "Clay Block");
|
parent::__construct(CLAY_BLOCK, 0, "Clay Block");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getDrops(Item $item, Player $player){
|
||||||
|
return array(
|
||||||
|
array(CLAY, 0, 4),
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue