mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 00:55:14 +00:00
BlockSpreadEvent: document poorly-named constructor parameters
This commit is contained in:
@ -30,6 +30,11 @@ use pocketmine\block\Block;
|
|||||||
*/
|
*/
|
||||||
class BlockSpreadEvent extends BaseBlockChangeEvent{
|
class BlockSpreadEvent extends BaseBlockChangeEvent{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param Block $block Block being replaced (TODO: rename this)
|
||||||
|
* @param Block $source Origin of the spread
|
||||||
|
* @param Block $newState Replacement block
|
||||||
|
*/
|
||||||
public function __construct(
|
public function __construct(
|
||||||
Block $block,
|
Block $block,
|
||||||
private Block $source,
|
private Block $source,
|
||||||
|
Reference in New Issue
Block a user