mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-31 23:33:06 +00:00
BlockSpreadEvent: document poorly-named constructor parameters
This commit is contained in:
parent
4e031e7b3e
commit
40be564689
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user