diff --git a/src/command/defaults/ParticleCommand.php b/src/command/defaults/ParticleCommand.php index e0ec57686..a427f8107 100644 --- a/src/command/defaults/ParticleCommand.php +++ b/src/command/defaults/ParticleCommand.php @@ -59,6 +59,7 @@ use pocketmine\world\particle\PortalParticle; use pocketmine\world\particle\RainSplashParticle; use pocketmine\world\particle\RedstoneParticle; use pocketmine\world\particle\SmokeParticle; +use pocketmine\world\particle\SonicExplosionParticle; use pocketmine\world\particle\SplashParticle; use pocketmine\world\particle\SporeParticle; use pocketmine\world\particle\TerrainParticle; @@ -235,6 +236,8 @@ class ParticleCommand extends VanillaCommand{ } } break; + case "sonicexplosion": + return new SonicExplosionParticle(); } return null; diff --git a/src/world/particle/SonicExplosionParticle.php b/src/world/particle/SonicExplosionParticle.php new file mode 100644 index 000000000..bc3eaa5d1 --- /dev/null +++ b/src/world/particle/SonicExplosionParticle.php @@ -0,0 +1,35 @@ +