PocketMine-MP Crash Dump Thu Apr 8 06:33:41 UTC 2021
Error: Call to undefined method pocketmine\command\ConsoleCommandSender::dataPacket()
File: plugins/VanillaCoordinates.phar/src/shelly7w7/VanillaCoordinates/command/CoordinateCommand
Line: 37
Type: Error
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: VanillaCoordinates v1.0.0
Code:
[28] return true;
[29] }
[30]
[31] if (isset($args[0])) {
[32] switch ($args[0]) {
[33]
[34] case "on":
[35] $pk = new GameRulesChangedPacket();
[36] $pk->gameRules = ["showcoordinates" => [1, true]];
[37] $sender->dataPacket($pk);
[38] $sender->sendMessage($this->plugin->config->get("turned-on"));
[39] break;
[40]
[41] case "off":
[42] $pk = new GameRulesChangedPacket();
[43] $pk->gameRules = ["showcoordinates" => [1, false]];
[44] $sender->dataPacket($pk);
[45] $sender->sendMessage($this->plugin->config->get("turned-off"));
[46]
[47] }
Backtrace:
#0 pmsrc/src/pocketmine/command/SimpleCommandMap(248): shelly7w7\VanillaCoordinates\command\CoordinateCommand->execute(object pocketmine\command\ConsoleCommandSender, string[11] coordinates, array[1])
#1 pmsrc/src/pocketmine/Server(1809): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[14] coordinates on)
#2 pmsrc/src/pocketmine/Server(1422): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[14] coordinates on)
#3 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\Server->pocketmine{closure}()
#4 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
#5 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1617863621.0128)
#6 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
#7 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
#8 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[6] /data/, string[9] /plugins/)
#9 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#10 pmsrc(11): require(string[67] phar:///pocketmine/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
PocketMine-MP version: 3.19.0 [Protocol 431]
Git commit: b307cd0aa15b76cfe41d2a649d14b3aa6fb78f64
uname -a: Linux 960aa0d4cdaf 4.19.121-linuxkit #1 SMP Thu Jan 21 15:36:34 UTC 2021 x86_64
PHP Version: 7.4.16
Zend version: 3.4.0
OS : Linux, linux
Composer libraries:
- adhocore/json-comment 1.1.0@cf7998124d1050b83d7d985447fefd630e09c1a2
- daverandom/callback-validator unknown@unknown
- pocketmine/binaryutils 0.1.13@0abee38d4e2861621f262c79a2a3d699d8a697f4
- pocketmine/callback-validator 1.0.3@64787469766bcaa7e5885242e85c23c25e8c55a2
- pocketmine/classloader 0.1.2@9757928424652393b178a3760073113aa7c9911b
- pocketmine/log 0.2.1@830b44a2cf96ef703c550abe64302f230231ca49
- pocketmine/log-pthreads 0.1.3@e477ecf6ec214fdd4415ea1da3fdd9d73bf699ea
- pocketmine/math 0.2.6@43057cb8c179a9859677b496a788db922fd5cfc3
- pocketmine/nbt 0.2.18@9f82ca4d7f97fcd9a566e44b63c4f18a7657ae82
- pocketmine/pocketmine-mp 3.19.0@b307cd0aa15b76cfe41d2a649d14b3aa6fb78f64
- pocketmine/raklib 0.12.11@9cce458b8bfde3e4dfdbf70c659fc7b7fe26b5c4
- pocketmine/snooze 0.1.5@70b5e7937a06878dd321a3182ceb76d56298f2cd
- pocketmine/spl 0.4.2@6b08b7cf8c4afa17139c9a1b3bf1b408531de161
Loaded plugins:
VanillaCoordinates 1.0.0 by Shelly7w7 for API(s) 3.0.0
[06:33:40] [Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\command\ConsoleCommandSender::dataPacket()" (EXCEPTION) in "plugins/VanillaCoordinates.phar/src/shelly7w7/VanillaCoordinates/command/CoordinateCommand" at line 37
[06:33:41] [Server thread/CRITICAL]: #0 pmsrc/src/pocketmine/command/SimpleCommandMap(248): shelly7w7\VanillaCoordinates\command\CoordinateCommand->execute(object pocketmine\command\ConsoleCommandSender, string[11] coordinates, array[1])
[06:33:41] [Server thread/CRITICAL]: #1 pmsrc/src/pocketmine/Server(1809): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[14] coordinates on)
[06:33:41] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/Server(1422): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[14] coordinates on)
[06:33:41] [Server thread/CRITICAL]: #3 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\Server->pocketmine{closure}()
[06:33:41] [Server thread/CRITICAL]: #4 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
[06:33:41] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1617863621.0128)
[06:33:41] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
[06:33:41] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
[06:33:41] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[6] /data/, string[9] /plugins/)
[06:33:41] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
[06:33:41] [Server thread/CRITICAL]: #10 pmsrc(11): require(string[67] phar:///pocketmine/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[06:33:41] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
[06:33:41] [Server thread/EMERGENCY]: Please upload the "/data/crashdumps/Thu_Apr_8-06.33.41-UTC_2021.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
[06:33:41] [Server thread/EMERGENCY]: The crash dump has been automatically submitted to the Crash Archive. You can view it on https://crash.pmmp.io/view/4874084 or use the ID #4874084.