mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
strip extra blank lines (php-cs-fixer)
This commit is contained in:
@ -59,7 +59,6 @@ abstract class Generator{
|
||||
*/
|
||||
abstract public function __construct(array $settings = []);
|
||||
|
||||
|
||||
public function init(ChunkManager $level, Random $random) : void{
|
||||
$this->level = $level;
|
||||
$this->random = $random;
|
||||
|
@ -26,7 +26,6 @@ declare(strict_types=1);
|
||||
*/
|
||||
namespace pocketmine\level\generator\noise;
|
||||
|
||||
|
||||
use function array_fill;
|
||||
use function assert;
|
||||
|
||||
|
@ -33,7 +33,6 @@ class Perlin extends Noise{
|
||||
[0, 1, 1], [0, -1, 1], [0, 1, -1], [0, -1, -1]
|
||||
];
|
||||
|
||||
|
||||
/**
|
||||
* @param int $octaves
|
||||
* @param float $persistence
|
||||
|
@ -82,7 +82,6 @@ class Simplex extends Perlin{
|
||||
/** @var float */
|
||||
protected $offsetW;
|
||||
|
||||
|
||||
/**
|
||||
* @param int $octaves
|
||||
* @param float $persistence
|
||||
|
@ -26,7 +26,6 @@ declare(strict_types=1);
|
||||
*/
|
||||
namespace pocketmine\level\generator\object;
|
||||
|
||||
|
||||
abstract class PopulatorObject{
|
||||
|
||||
}
|
||||
|
@ -84,7 +84,6 @@ abstract class Tree{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function canPlaceObject(ChunkManager $level, int $x, int $y, int $z, Random $random) : bool{
|
||||
$radiusToCheck = 0;
|
||||
for($yy = 0; $yy < $this->treeHeight + 3; ++$yy){
|
||||
|
Reference in New Issue
Block a user