Fixed wrong docs in Block

This commit is contained in:
Dylan K. Taylor 2017-02-22 12:46:36 +00:00
parent 6e4b8ba677
commit 822c048af0

View File

@ -379,14 +379,14 @@ class Block extends Position implements BlockIds, Metadatable{
} }
/** /**
* @return int * @return float
*/ */
public function getHardness(){ public function getHardness(){
return 10; return 10;
} }
/** /**
* @return int * @return float
*/ */
public function getResistance(){ public function getResistance(){
return $this->getHardness() * 5; return $this->getHardness() * 5;