menu
#9718477 Craftify\session\managers\SessionManager::getTalisman(): Return value must be of type Craftify\services\Talismans\Talisman, null returned

Submitted by PocketMine-MP 5.8.2

General information

Version: 5.8.2
Git commit: c3c81b09
Plugin involvement: Direct
Report date: 2023-12-03 04:13:47 +0000 UTC
Server uptime: 0 days 0 hours 2 minutes 4 seconds

System Information

PHP version: 8.1.22
JIT status: Not available
Operating system: win
System banner: Windows NT OLEXANDR 10.0 build 22621 (Windows 11) AMD64

Error information

Warning: the Craftify plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: Craftify\session\managers\SessionManager::getTalisman(): Return value must be of type Craftify\services\Talismans\Talisman, null returned
File: plugins/Craftify/src/Craftify/session/managers/SessionManager
Line: #197
Type: TypeError
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
    }

public function hasTalisman(): bool
{
return $this->talisman instanceof Talisman;
}

public function getTalisman(): Talisman
{
return $this->talisman;
}

public function getGroupString(): string
{
return $this->groupString;
}

public function getGroup(): DefaultGroup
{
return $this->group;
#0 plugins/Craftify/src/Craftify/session/PlayerHandler(132): Craftify\session\managers\SessionManager->getTalisman()
#1 pmsrc/src/event/RegisteredListener(61): Craftify\session\PlayerHandler->handlePlayerDamage(object pocketmine\event\entity\EntityDamageByEntityEvent#114521)
#2 pmsrc/src/event/Event(63): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\entity\EntityDamageByEntityEvent#114521)
#3 pmsrc/src/entity/Entity(530): pocketmine\event\Event->call()
#4 pmsrc/src/entity/Living(548): pocketmine\entity\Entity->attack(object pocketmine\event\entity\EntityDamageByEntityEvent#114521)
#5 pmsrc/src/player/Player(2466): pocketmine\entity\Living->attack(object pocketmine\event\entity\EntityDamageByEntityEvent#114521)
#6 pmsrc/src/player/Player(1869): pocketmine\player\Player->attack(object pocketmine\event\entity\EntityDamageByEntityEvent#114521)
#7 pmsrc/src/network/mcpe/handler/InGamePacketHandler(558): pocketmine\player\Player->attackEntity(object pocketmine\player\Player#78705)
#8 pmsrc/src/network/mcpe/handler/InGamePacketHandler(345): pocketmine\network\mcpe\handler\InGamePacketHandler->handleUseItemOnEntityTransaction(object pocketmine\network\mcpe\protocol\types\inventory\UseItemOnEntityTransactionData#121326)
#9 pmsrc/vendor/pocketmine/bedrock-protocol/src/InventoryTransactionPacket(94): pocketmine\network\mcpe\handler\InGamePacketHandler->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket#114245)
#10 pmsrc/src/network/mcpe/NetworkSession(445): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#116293)
#11 pmsrc/src/network/mcpe/NetworkSession(383): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket#114245, string[95] ..............8.........Damagev......ench........id.....lvl.............U?B...B.)
#12 pmsrc/src/network/mcpe/raklib/RakLibInterface(219): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[83] c.a.a..x9.f.aF.#...@`..?#...3..Kbnbzj.P...!5/9......!3.....!.,.....C..V..w...;.$)
#13 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(40): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 1, string[92] .....d....?.cA7.)=.......{.E.[.&o._.{.....GS...#.8.A.=.1 .7....<\.I.3...*.;. T.K)
#14 pmsrc/src/network/mcpe/raklib/RakLibInterface(111): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#126572)
#15 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#16 pmsrc/src/TimeTrackingSleeperHandler(58): pocketmine\snooze\SleeperHandler->processNotifications()
#17 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(79): pocketmine\TimeTrackingSleeperHandler->processNotifications()
#18 pmsrc/src/Server(1683): pocketmine\snooze\SleeperHandler->sleepUntil(float 1701576827.0517)
#19 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
#20 pmsrc/src/PocketMine(341): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[35] C:\Users\olexandr\Desktop\Craftify\, string[43] C:\Users\olexandr\Desktop\Craftify\plugins\)
#21 pmsrc/src/PocketMine(364): pocketmine\server()
#22 pmsrc(11): require(string[79] phar://C:/Users/olexandr/Desktop/Craftify/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show