Fix netherrack and remove redundant override from NetherBrickFence

This commit is contained in:
Dylan K. Taylor 2016-12-28 22:29:27 +00:00
parent cb55cefa44
commit 227e1c42ea
2 changed files with 1 additions and 11 deletions

View File

@ -31,16 +31,6 @@ class NetherBrickFence extends Transparent{
$this->meta = $meta;
}
public function getBreakTime(Item $item){
if($item instanceof Air){
//Breaking by hand
return 10;
}else{
// Other breaktimes are equal to woodfences.
return parent::getBreakTime($item);
}
}
public function getHardness(){
return 2;
}

View File

@ -37,7 +37,7 @@ class Netherrack extends Solid{
}
public function getHardness(){
return 2;
return 0.4;
}
public function getToolType(){