BlockFactory::get() second parameter is now mandatory

This commit is contained in:
Dylan K. Taylor
2020-11-18 00:50:01 +00:00
parent 28335e3c45
commit 870d237260
4 changed files with 363 additions and 363 deletions

View File

@@ -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":