mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-30 07:09:56 +00:00
Fixed wrong docs in Block
This commit is contained in:
parent
6e4b8ba677
commit
822c048af0
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user