World::setBiomeId() now bails when trying to modify a non-generated chunk (or chunk locked for generation)

This commit is contained in:
Dylan K. Taylor
2020-11-01 14:59:22 +00:00
parent 3e21e47b7a
commit 11434f3a27
2 changed files with 12 additions and 6 deletions

View File

@ -535,11 +535,6 @@ parameters:
count: 3
path: ../../../src/world/World.php
-
message: "#^Cannot call method setBiomeId\\(\\) on pocketmine\\\\world\\\\format\\\\Chunk\\|null\\.$#"
count: 1
path: ../../../src/world/World.php
-
message: "#^Cannot call method isPopulated\\(\\) on pocketmine\\\\world\\\\format\\\\Chunk\\|null\\.$#"
count: 1