Explosion: remove unused local variable in explodeB()

This commit is contained in:
Dylan K. Taylor 2022-05-21 17:39:11 +01:00
parent 5d92eddc82
commit 33e6b63fe5
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -156,8 +156,6 @@ class Explosion{
* and creating sounds and particles.
*/
public function explodeB() : bool{
$updateBlocks = [];
$source = (new Vector3($this->source->x, $this->source->y, $this->source->z))->floor();
$yield = (1 / $this->size) * 100;