menu
#5037812 Class 'vixikhd\cars\arena\Config' not found

Submitted by PocketMine-MP 3.22.0

General information

Version: 3.22.0
Git commit: c32c2146
Plugin involvement: Direct
Report date: 2021-07-21 22:45:51 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 27 seconds

System Information

PHP version: 7.4.15
Operating system: linux
System banner: Linux 2dbb7757-8025-4d5d-be74-b60da1f53037 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64

Error information

Warning: the cars plugin was directly involved in this crash. Please contact the plugin author.
Message: Class 'vixikhd\cars\arena\Config' not found
File: plugins/carss-racing.phar/src/vixikhd/cars/arena/Arena
Line: #545
Error level: Error
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
        unset($this->scheduler);
}

public function isInside(Vector3 $pp, Vector3 $p1, Vector3 $p2){
return ((min($p1->getX(),$p2->getX()) <= $pp->getX()) && (max($p1->getX(),$p2->getX()) >= $pp->getX()) && (min($p1->getY(),$p2->getY()) <= $pp->getY()) && (max($p1->getY(),$p2->getY()) >= $pp->getY()) && (min($p1->getZ(),$p2->getZ()) <= $pp->getZ()) && (max($p1->getZ(),$p2->getZ()) >= $pp->getZ()));
}

public function onMove(PlayerMoveEvent $event){
$player = $event->getPlayer();
$c = new Config($this->plugin->getDataFolder()."config.yml", Config::YAML);
//=======================================
$x1 = $c->get("x1");
$y1 = $c->get("y1");
$z1 = $c->get("z1");

$x2 = $c->get("x2");
$y2 = $c->get("y2");
$z2 = $c->get("z2");
//========================================
$level = $player->getLevel();
#0 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): vixikhd\cars\arena\Arena->onMove(object pocketmine\event\player\PlayerMoveEvent)
#1 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object vixikhd\cars\arena\Arena, object pocketmine\event\player\PlayerMoveEvent)
#2 pmsrc/src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerMoveEvent)
#3 pmsrc/src/pocketmine/Player(1668): pocketmine\event\Event->call()
#4 pmsrc/src/pocketmine/Player(1781): pocketmine\Player->processMostRecentMovements()
#5 pmsrc/src/pocketmine/level/Level(854): pocketmine\Player->onUpdate(integer 500)
#6 pmsrc/src/pocketmine/level/Level(787): pocketmine\level\Level->actuallyDoTick(integer 500)
#7 pmsrc/src/pocketmine/Server(2265): pocketmine\level\Level->doTick(integer 500)
#8 pmsrc/src/pocketmine/Server(2396): pocketmine\Server->checkTickUpdates(integer 500, double 1626907551.8721)
#9 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick()
#10 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
#11 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
#12 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#13 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#14 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show