mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +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{
|
||||
|
||||
/**
|
||||
* @param Block $block Block being replaced (TODO: rename this)
|
||||
* @param Block $source Origin of the spread
|
||||
* @param Block $newState Replacement block
|
||||
*/
|
||||
public function __construct(
|
||||
Block $block,
|
||||
private Block $source,
|
||||
|
Loading…
x
Reference in New Issue
Block a user