menu
#3549710 Cannot instantiate abstract class reboot\shard\ShardPlayer

Submitted by PocketMine-MP 3.11.3

General information

Version: 3.11.3
Git commit: 0d5704b1
Plugin involvement: None
Report date: 2020-01-14 03:37:59 +0000 UTC

System Information

PHP version: 7.3.13
Operating system: win
System banner: Windows NT GLITCHBOOK 10.0 build 18363 (Windows 10) AMD64

Error information

Message: Cannot instantiate abstract class reboot\shard\ShardPlayer
File: src/pocketmine/network/mcpe/RakLibInterface
Line: #154
Error level: Error
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
	public function openSession(string $identifier, string $address, int $port, int $clientID) : void{
$ev = new PlayerCreationEvent($this, Player::class, Player::class, $address, $port);
$ev->call();
$class = $ev->getPlayerClass();

/**
* @var Player $player
* @see Player::__construct()
*/
$player = new $class($this, $ev->getAddress(), $ev->getPort());
$this->players[$identifier] = $player;
$this->identifiersACK[$identifier] = 0;
$this->identifiers[spl_object_hash($player)] = $identifier;
$this->server->addPlayer($player);
}

public function handleEncapsulated(string $identifier, EncapsulatedPacket $packet, int $flags) : void{
if(isset($this->players[$identifier])){
//get this now for blocking in case the player was closed before the exception was raised
$player = $this->players[$identifier];
#0 vendor/pocketmine/raklib/src/server/ServerHandler(124): pocketmine\network\mcpe\RakLibInterface->openSession(string[15] 127.0.0.1 55061, string[9] 127.0.0.1, integer 55061, integer -4901494835690077696)
#1 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
#2 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
#3 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
#4 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
#5 src/pocketmine/Server(2349): pocketmine\snooze\SleeperHandler->sleepUntil(double 1578973079.8556)
#6 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#7 src/pocketmine/Server(1785): pocketmine\Server->start()
#8 src/pocketmine/PocketMine(268): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[34] D:\Users\Glitch\Documents\ShardPE\, string[42] D:\Users\Glitch\Documents\ShardPE\plugins\)
#9 src/pocketmine/PocketMine(291): pocketmine\server()
#10 (1): require(string[89] phar://D:/Users/Glitch/Documents/ShardPE/PocketMine-MP.phar/src/pocketmine/Pocke)

Loaded Plugins

  • Show

Server Settings

  • Show