mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
reactor will drop itself insetad of diamonds and iron
This commit is contained in:
parent
b63741dc22
commit
a2747dffa8
1 changed files with 1 additions and 4 deletions
|
|
@ -50,10 +50,7 @@ class NetherReactorBlock 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 [[NETHER_REACTOR, 0, 1]];
|
||||||
[DIAMOND, 0, 3],
|
|
||||||
[IRON_INGOT, 0, 6],
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue