mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Block API typehints
This commit is contained in:
@ -26,7 +26,7 @@ namespace pocketmine\block;
|
||||
|
||||
abstract class Transparent extends Block{
|
||||
|
||||
public function isTransparent(){
|
||||
public function isTransparent() : bool{
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user