mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
stone with different meta will drop itself
This commit is contained in:
parent
81464e3e26
commit
083ace7eb1
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class StoneBlock extends SolidBlock{
|
|||
public function getDrops(Item $item, Player $player){
|
||||
if($item->getPickaxeLevel() >= 1){
|
||||
return array(
|
||||
array(COBBLESTONE, 0, 1),
|
||||
array($this->meta == 0 ? COBBLESTONE : $this->id, $this->meta, 1),
|
||||
);
|
||||
}else{
|
||||
return array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue