Normal: make gaussian non-static

this allows each generator to (potentially) have a different gaussian curve for biome blending, as well as fixing a few phpstan level 7 errors.
This commit is contained in:
Dylan K. Taylor
2020-06-28 19:08:18 +01:00
parent db8e094d11
commit 5a56f68991
2 changed files with 7 additions and 18 deletions

View File

@ -1040,16 +1040,6 @@ parameters:
count: 1
path: ../../../src/world/generator/normal/Normal.php
-
message: "#^Cannot access property \\$smoothSize on pocketmine\\\\world\\\\generator\\\\Gaussian\\|null\\.$#"
count: 6
path: ../../../src/world/generator/normal/Normal.php
-
message: "#^Cannot access property \\$kernel on pocketmine\\\\world\\\\generator\\\\Gaussian\\|null\\.$#"
count: 1
path: ../../../src/world/generator/normal/Normal.php
-
message: "#^Cannot call method setFullBlock\\(\\) on pocketmine\\\\world\\\\format\\\\Chunk\\|null\\.$#"
count: 3