mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-11 05:55:33 +00:00
Explosion: remove dead code
this was needed for the old ExplodePacket, which was removed a few versions back.
This commit is contained in:
parent
340881d590
commit
c0dafe7872
@ -154,7 +154,6 @@ class Explosion{
|
|||||||
* and creating sounds and particles.
|
* and creating sounds and particles.
|
||||||
*/
|
*/
|
||||||
public function explodeB() : bool{
|
public function explodeB() : bool{
|
||||||
$send = [];
|
|
||||||
$updateBlocks = [];
|
$updateBlocks = [];
|
||||||
|
|
||||||
$source = (new Vector3($this->source->x, $this->source->y, $this->source->z))->floor();
|
$source = (new Vector3($this->source->x, $this->source->y, $this->source->z))->floor();
|
||||||
@ -254,7 +253,6 @@ class Explosion{
|
|||||||
$updateBlocks[$index] = true;
|
$updateBlocks[$index] = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$send[] = new Vector3($block->x - $source->x, $block->y - $source->y, $block->z - $source->z);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->level->addParticle(new HugeExplodeSeedParticle($source));
|
$this->level->addParticle(new HugeExplodeSeedParticle($source));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user