mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
WorldProviders now accept Loggers
This commit is contained in:
@ -41,7 +41,8 @@ abstract class BaseWorldProvider implements WorldProvider{
|
||||
protected BlockStateSerializer $blockStateSerializer;
|
||||
|
||||
public function __construct(
|
||||
protected string $path
|
||||
protected string $path,
|
||||
protected \Logger $logger
|
||||
){
|
||||
if(!file_exists($path)){
|
||||
throw new WorldException("World does not exist");
|
||||
|
Reference in New Issue
Block a user