mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Update ObsidianBlock.php
This commit is contained in:
parent
f469a186c2
commit
c8c92048ba
1 changed files with 6 additions and 6 deletions
|
|
@ -11,7 +11,7 @@ class ObsidianBlock extends SolidBlock{
|
|||
return 0.20;
|
||||
}
|
||||
if($item->getPickaxeLevel() >= 5){
|
||||
return 3.5;//from wiki
|
||||
return 2.15;
|
||||
}else{
|
||||
return 250;
|
||||
}
|
||||
|
|
@ -19,11 +19,11 @@ class ObsidianBlock extends SolidBlock{
|
|||
|
||||
public function getDrops(Item $item, Player $player){
|
||||
if($item->getPickaxeLevel() >= 5){
|
||||
return array(
|
||||
array(OBSIDIAN, 0, 1),
|
||||
);
|
||||
return [
|
||||
[OBSIDIAN, 0, 1]
|
||||
];
|
||||
}else{
|
||||
return array();
|
||||
return [];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue