mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Block API typehints
This commit is contained in:
@ -27,7 +27,7 @@ use pocketmine\item\Item;
|
||||
|
||||
class UnknownBlock extends Transparent{
|
||||
|
||||
public function getHardness(){
|
||||
public function getHardness() : float{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user