Closed ghost closed 6 years ago
[23:23:49] (B[Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\Server::getScheduler()" (EXCEPTION) in "CombatLogger/src/jacknoordhuis/combatlogger/CombatLogger" at line 90(B [23:23:49] (B[Server thread/DEBUG]: #0 CombatLogger/src/jacknoordhuis/combatlogger/CombatLogger(46): jacknoordhuis\combatlogger\CombatLogger->startHeartbeat()(B [23:23:49] (B[Server thread/DEBUG]: #1 src/pocketmine/plugin/PluginBase(102): jacknoordhuis\combatlogger\CombatLogger->onEnable()(B [23:23:49] (B[Server thread/DEBUG]: #2 src/pocketmine/plugin/PluginManager(556): pocketmine\plugin\PluginBase->setEnabled(boolean 1)(B [23:23:49] (B[Server thread/DEBUG]: #3 src/pocketmine/Server(1918): pocketmine\plugin\PluginManager->enablePlugin(jacknoordhuis\combatlogger\CombatLogger object)(B [23:23:49] (B[Server thread/DEBUG]: #4 src/pocketmine/Server(1904): pocketmine\Server->enablePlugin(jacknoordhuis\combatlogger\CombatLogger object)(B [23:23:49] (B[Server thread/DEBUG]: #5 src/pocketmine/Server(1698): pocketmine\Server->enablePlugins(integer 1)(B [23:23:49] (B[Server thread/DEBUG]: #6 src/pocketmine/PocketMine(243): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/container/, string /home/container/plugins/)(B [23:23:49] (B[Server thread/DEBUG]: #7 /home/container/PocketMine-MP.phar(1): require(string phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
How about you use the plugin on the API it is intended for instead of blindly changing things you shouldn't?
[23:23:49] (B[Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\Server::getScheduler()" (EXCEPTION) in "CombatLogger/src/jacknoordhuis/combatlogger/CombatLogger" at line 90(B [23:23:49] (B[Server thread/DEBUG]: #0 CombatLogger/src/jacknoordhuis/combatlogger/CombatLogger(46): jacknoordhuis\combatlogger\CombatLogger->startHeartbeat()(B [23:23:49] (B[Server thread/DEBUG]: #1 src/pocketmine/plugin/PluginBase(102): jacknoordhuis\combatlogger\CombatLogger->onEnable()(B [23:23:49] (B[Server thread/DEBUG]: #2 src/pocketmine/plugin/PluginManager(556): pocketmine\plugin\PluginBase->setEnabled(boolean 1)(B [23:23:49] (B[Server thread/DEBUG]: #3 src/pocketmine/Server(1918): pocketmine\plugin\PluginManager->enablePlugin(jacknoordhuis\combatlogger\CombatLogger object)(B [23:23:49] (B[Server thread/DEBUG]: #4 src/pocketmine/Server(1904): pocketmine\Server->enablePlugin(jacknoordhuis\combatlogger\CombatLogger object)(B [23:23:49] (B[Server thread/DEBUG]: #5 src/pocketmine/Server(1698): pocketmine\Server->enablePlugins(integer 1)(B [23:23:49] (B[Server thread/DEBUG]: #6 src/pocketmine/PocketMine(243): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/container/, string /home/container/plugins/)(B [23:23:49] (B[Server thread/DEBUG]: #7 /home/container/PocketMine-MP.phar(1): require(string phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)