Convert GeneratorManager to singleton

This commit is contained in:
Dylan K. Taylor
2020-05-23 10:13:03 +01:00
parent 640428c415
commit c9af5ce7a9
9 changed files with 28 additions and 36 deletions

View File

@ -11,7 +11,7 @@ parameters:
path: ../../../build/server-phar.php
-
message: "#^Parameter \\#1 \\$name of static method pocketmine\\\\world\\\\generator\\\\GeneratorManager\\:\\:getGenerator\\(\\) expects string, string\\|null given\\.$#"
message: "#^Parameter \\#1 \\$name of method pocketmine\\\\world\\\\generator\\\\GeneratorManager\\:\\:getGenerator\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: ../../../src/Server.php