mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 13:09:44 +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){
|
public function getDrops(Item $item, Player $player){
|
||||||
if($item->getPickaxeLevel() >= 1){
|
if($item->getPickaxeLevel() >= 1){
|
||||||
return array(
|
return array(
|
||||||
array(COBBLESTONE, 0, 1),
|
array($this->meta == 0 ? COBBLESTONE : $this->id, $this->meta, 1),
|
||||||
);
|
);
|
||||||
}else{
|
}else{
|
||||||
return array();
|
return array();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue