mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
Added type hint to BlockEvent::getBlock()
This commit is contained in:
@ -38,6 +38,9 @@ abstract class BlockEvent extends Event{
|
||||
$this->block = $block;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Block
|
||||
*/
|
||||
public function getBlock(){
|
||||
return $this->block;
|
||||
}
|
||||
|
Reference in New Issue
Block a user