mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
BlockFactory::get() second parameter is now mandatory
This commit is contained in:
@@ -186,7 +186,7 @@ class ParticleCommand extends VanillaCommand{
|
||||
break;
|
||||
case "terrain":
|
||||
if($data !== null and $data !== 0){
|
||||
return new TerrainParticle(BlockFactory::getInstance()->get($data));
|
||||
return new TerrainParticle(BlockFactory::getInstance()->get($data, 0));
|
||||
}
|
||||
break;
|
||||
case "heart":
|
||||
|
Reference in New Issue
Block a user