Fixed formating.

This commit is contained in:
Ad5001 2017-05-13 23:27:10 +02:00
parent e8f2961eab
commit be6965b909
28 changed files with 335 additions and 336 deletions

View file

@ -88,7 +88,6 @@ class CavePopulator extends AmountPopulator {
*/
public function generateCave($x, $y, $z, Random $random) {
$generatedBranches = $random->nextBoundedInt(10) + 1;
// echo "Num of branch left => " . $generatedBranches . PHP_EOL;
foreach($gen = $this->generateBranch($x, $y, $z, 5, 3, 5, $random) as $v3) {
$generatedBranches --;
if ($generatedBranches <= 0) {