Minor fixes

But gives error

03:22:49 [ERROR] A E_RECOVERABLE_ERROR error happened: "Argument 2 passed to PocketMinecraftServer::addHandler() must be callable, array given, called in C:\Users\Darunia18\Desktop\PM Plugin Test Server\PocketMine-MP\src\API\ServerAPI.php on line 382 and defined" in "C:\Users\Darunia18\Desktop\PM Plugin Test Server\PocketMine-MP\src\PocketMinecraftServer.php" at line 283