Remove redundant paths from BaseClassLoader

Everything under src is now handled by the Composer autoloader, and SPL doesn't exist anymore (it's a Composer library now).
This commit is contained in:
Dylan K. Taylor 2018-01-23 17:02:50 +00:00
parent aca1422fca
commit 2a8be527d7

View File

@ -157,8 +157,6 @@ namespace pocketmine {
* We now use the Composer autoloader, but this autoloader is still for loading plugins.
*/
$autoloader = new \BaseClassLoader();
$autoloader->addPath(\pocketmine\PATH . "src");
$autoloader->addPath(\pocketmine\PATH . "src" . DIRECTORY_SEPARATOR . "spl");
$autoloader->register(false);
set_time_limit(0); //Who set it to 30 seconds?!?!