mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Tool tier added to getDrops
This commit is contained in:
@ -58,7 +58,7 @@ class RedstoneOre extends Solid{
|
||||
}
|
||||
|
||||
public function getDrops(Item $item){
|
||||
if($item->isPickaxe() >= 2){
|
||||
if($item->isPickaxe() >= Tool::TIER_GOLD){
|
||||
return [
|
||||
[Item::REDSTONE_DUST, 0, mt_rand(4, 5)],
|
||||
];
|
||||
|
Reference in New Issue
Block a user