mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 21:19:44 +00:00
Redstone Ore drops Redstone dust
This commit is contained in:
parent
ba7c9503d8
commit
e4221b8552
2 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ class GlowingRedstoneOreBlock extends SolidBlock{
|
||||||
public function getDrops(Item $item, Player $player){
|
public function getDrops(Item $item, Player $player){
|
||||||
if($item->isPickaxe() >= 4){
|
if($item->isPickaxe() >= 4){
|
||||||
return array(
|
return array(
|
||||||
//array(331, 4, mt_rand(4, 5)),
|
array(331, 4, mt_rand(4, 5)),
|
||||||
);
|
);
|
||||||
}else{
|
}else{
|
||||||
return array();
|
return array();
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ class RedstoneOreBlock extends SolidBlock{
|
||||||
public function getDrops(Item $item, Player $player){
|
public function getDrops(Item $item, Player $player){
|
||||||
if($item->isPickaxe() >= 2){
|
if($item->isPickaxe() >= 2){
|
||||||
return array(
|
return array(
|
||||||
//array(331, 4, mt_rand(4, 5)),
|
array(331, 4, mt_rand(4, 5)),
|
||||||
);
|
);
|
||||||
}else{
|
}else{
|
||||||
return array();
|
return array();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue