mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
tools/convert-world: do not redefine RESOURCE_PATH
this is now defined automatically when including the autoloader.
This commit is contained in:
parent
ff915b829c
commit
1df345ba6f
@ -31,8 +31,6 @@ require_once dirname(__DIR__) . '/vendor/autoload.php';
|
||||
|
||||
WorldProviderManager::init();
|
||||
GeneratorManager::registerDefaultGenerators();
|
||||
define('pocketmine\RESOURCE_PATH', dirname(__DIR__) . '/resources/');
|
||||
|
||||
|
||||
$writableFormats = array_filter(WorldProviderManager::getAvailableProviders(), function(string $class){
|
||||
return is_a($class, WritableWorldProvider::class, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user