mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-29 14:49:59 +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(){
|
||||
return 10;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
* @return float
|
||||
*/
|
||||
public function getResistance(){
|
||||
return $this->getHardness() * 5;
|
||||
|
Loading…
x
Reference in New Issue
Block a user