EntityExplodeEvent: Fixed accidental BC break introduced by #6646

thanks @Yexeed
This commit is contained in:
Dylan T. 2025-06-20 15:26:42 +01:00 committed by GitHub
parent 0e511ff783
commit 04494e845c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,7 @@ class EntityExplodeEvent extends EntityEvent implements Cancellable{
protected Position $position, protected Position $position,
protected array $blocks, protected array $blocks,
protected float $yield, protected float $yield,
private array $ignitions private array $ignitions = []
){ ){
$this->entity = $entity; $this->entity = $entity;
if($yield < 0.0 || $yield > 100.0){ if($yield < 0.0 || $yield > 100.0){