mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-05 09:39:56 +00:00
Redstone Ore drops Redstone dust
This commit is contained in:
parent
ba7c9503d8
commit
e4221b8552
@ -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…
x
Reference in New Issue
Block a user