mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 13:09:44 +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;
|
return 0.20;
|
||||||
}
|
}
|
||||||
if($item->getPickaxeLevel() >= 5){
|
if($item->getPickaxeLevel() >= 5){
|
||||||
return 3.5;//from wiki
|
return 2.15;
|
||||||
}else{
|
}else{
|
||||||
return 250;
|
return 250;
|
||||||
}
|
}
|
||||||
|
|
@ -19,11 +19,11 @@ class ObsidianBlock extends SolidBlock{
|
||||||
|
|
||||||
public function getDrops(Item $item, Player $player){
|
public function getDrops(Item $item, Player $player){
|
||||||
if($item->getPickaxeLevel() >= 5){
|
if($item->getPickaxeLevel() >= 5){
|
||||||
return array(
|
return [
|
||||||
array(OBSIDIAN, 0, 1),
|
[OBSIDIAN, 0, 1]
|
||||||
);
|
];
|
||||||
}else{
|
}else{
|
||||||
return array();
|
return [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue