mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
isPickaxe replaced with getPickaxeLevel, reactor drops correct block now
This commit is contained in:
parent
81d46e71aa
commit
df0db01425
38 changed files with 73 additions and 60 deletions
|
|
@ -16,7 +16,7 @@ class RedstoneOreBlock extends SolidBlock{
|
|||
}
|
||||
|
||||
public function getDrops(Item $item, Player $player){
|
||||
if($item->isPickaxe() >= 2){
|
||||
if($item->getPickaxeLevel() >= 2){
|
||||
return array(
|
||||
array(REDSTONE_DUST, 0, mt_rand(4, 5)),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue