reactor will drop itself insetad of diamonds and iron

This commit is contained in:
GameHerobrine 2024-04-27 03:46:39 +03:00
parent b63741dc22
commit a2747dffa8

View file

@ -50,10 +50,7 @@ class NetherReactorBlock extends SolidBlock{
public function getDrops(Item $item, Player $player){
if($item->getPickaxeLevel() >= 1){
return array(
[DIAMOND, 0, 3],
[IRON_INGOT, 0, 6],
);
return [[NETHER_REACTOR, 0, 1]];
}
}