Merge commit 'd234d3e45'

# Conflicts:
#	resources/vanilla
#	src/pocketmine/command/defaults/ParticleCommand.php
This commit is contained in:
Dylan K. Taylor 2020-06-03 12:55:46 +01:00
commit b2f182b196

View File

@ -41,6 +41,7 @@ use pocketmine\world\particle\CriticalParticle;
use pocketmine\world\particle\DustParticle; use pocketmine\world\particle\DustParticle;
use pocketmine\world\particle\EnchantmentTableParticle; use pocketmine\world\particle\EnchantmentTableParticle;
use pocketmine\world\particle\EnchantParticle; use pocketmine\world\particle\EnchantParticle;
use pocketmine\world\particle\EntityFlameParticle;
use pocketmine\world\particle\ExplodeParticle; use pocketmine\world\particle\ExplodeParticle;
use pocketmine\world\particle\FlameParticle; use pocketmine\world\particle\FlameParticle;
use pocketmine\world\particle\HappyVillagerParticle; use pocketmine\world\particle\HappyVillagerParticle;
@ -202,7 +203,8 @@ class ParticleCommand extends VanillaCommand{
return new AngryVillagerParticle(); return new AngryVillagerParticle();
case "forcefield": case "forcefield":
return new BlockForceFieldParticle($data ?? 0); return new BlockForceFieldParticle($data ?? 0);
case "mobflame":
return new EntityFlameParticle();
} }
if(strpos($name, "iconcrack_") === 0){ if(strpos($name, "iconcrack_") === 0){