mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
forgot to place it back
This commit is contained in:
parent
27e6bc6540
commit
a898eb1970
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ class ExperimentalGenerator implements NewLevelGenerator{
|
|||
$this->level->level->setBiomeId(($chunkX << 4) + $x, ($chunkZ << 4) + $z, $biome->id);
|
||||
for($sx = -ExperimentalGenerator::$SMOOTH_SIZE; $sx <= ExperimentalGenerator::$SMOOTH_SIZE; ++$sx){
|
||||
for($sz = -ExperimentalGenerator::$SMOOTH_SIZE; $sz <= ExperimentalGenerator::$SMOOTH_SIZE; ++$sz){
|
||||
$weight = ExperimentalGenerator::$GAUSSIAN_KERNEL[0][0];
|
||||
$weight = ExperimentalGenerator::$GAUSSIAN_KERNEL[$sx + ExperimentalGenerator::$SMOOTH_SIZE][$sz + ExperimentalGenerator::$SMOOTH_SIZE];
|
||||
|
||||
if($sx === 0 and $sz === 0){
|
||||
$adjacent = $biome;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue