menu
#10302600 Creation of dynamic property pocketmine\player\Player::$canCollide is deprecated

Submitted by PocketMine-MP 5.11.0

General information

Version: 5.11.0
Git commit: ce8fecc6
Plugin involvement: Direct
Report date: 2024-02-12 19:05:48 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 29 seconds

System Information

PHP version: 8.2.13
JIT status: Not available
Operating system: win
System banner: Windows NT BXS 10.0 build 22631 (Windows 11) AMD64

Error information

Warning: the Faction_Plugin plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: Creation of dynamic property pocketmine\player\Player::$canCollide is deprecated
File: plugins/Faction/src/BXS/Faction/Entity/EntityUtils
Line: #52
Type: ErrorException
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
        parent::syncNetworkData($properties);

$properties->setGenericFlag(EntityMetadataFlags::TAMED, true);
$properties->setGenericFlag(EntityMetadataFlags::RIDING, true);
}

public function setRider(Player $player): bool {

$this->rider = $player;
$player->canCollide = false;
$riderSeatPos = new Vector3(0, 1.3 + $this->getScale() * 0.9, -0.25);

$player->getNetworkProperties()->setVector3(EntityMetadataProperties::RIDER_SEAT_POSITION, $riderSeatPos);
$player->getNetworkProperties()->setGenericFlag(EntityMetadataFlags::WASD_CONTROLLED, true);
$player->getNetworkProperties()->setGenericFlag(EntityMetadataFlags::RIDING, true);
$this->getNetworkProperties()->setGenericFlag(EntityMetadataFlags::SADDLED, true);
$this->getNetworkProperties()->setByte(EntityMetadataProperties::CONTROLLING_RIDER_SEAT_NUMBER, 0);



#0 plugins/Faction/src/BXS/Faction/Entity/EntityUtils(52): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 8192, string[80] Creation of dynamic property pocketmine\player\Player::$canCollide is deprecated, string[116] C:\Users\amine\OneDrive\Bureau\Pocketmine\Nasagaki\PvpFaction\plugins\Faction\sr, int 52)
#1 plugins/Faction/src/BXS/Faction/Commands/Default/Feed(27): BXS\Faction\Entity\EntityUtils->setRider(object pocketmine\player\Player#194910)
#2 pmsrc/src/command/SimpleCommandMap(212): BXS\Faction\Commands\Default\Feed->execute(object pocketmine\player\Player#194910, string[4] feed, array[0])
#3 pmsrc/src/Server(1434): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\player\Player#194910, string[4] feed)
#4 pmsrc/src/player/Player(1512): pocketmine\Server->dispatchCommand(object pocketmine\player\Player#194910, string[4] feed)
#5 pmsrc/src/network/mcpe/handler/InGamePacketHandler(821): pocketmine\player\Player->chat(string[5] /feed)
#6 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(55): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#72403)
#7 pmsrc/src/network/mcpe/NetworkSession(462): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#74407)
#8 pmsrc/src/network/mcpe/NetworkSession(400): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#72403, string[27] M./feed..G.!..5`..R<......J)
#9 pmsrc/src/network/mcpe/raklib/RakLibInterface(219): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[77] ...e.OKMMa.s?..H.4A.D..........&02.A....._Z...Nt...<... .....&&.2._o...@..&..)
#10 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(40): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[86] ..AQ..QJ.\.,HLX..m...,..v...t#.b..)K...F....^....v..?.$.......A.-={...n.........)
#11 pmsrc/src/network/mcpe/raklib/RakLibInterface(111): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#194986)
#12 pmsrc/src/TimeTrackingSleeperHandler(58): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#13 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\TimeTrackingSleeperHandler->pocketmine\{closure}()
#14 pmsrc/src/TimeTrackingSleeperHandler(77): pocketmine\snooze\SleeperHandler->processNotifications()
#15 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(79): pocketmine\TimeTrackingSleeperHandler->processNotifications()
#16 pmsrc/src/Server(1699): pocketmine\snooze\SleeperHandler->sleepUntil(float 1707764748.2849)
#17 pmsrc/src/Server(1067): pocketmine\Server->tickProcessor()
#18 pmsrc/src/PocketMine(341): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[62] C:\Users\amine\OneDrive\Bureau\Pocketmine\Nasagaki\PvpFaction\, string[70] C:\Users\amine\OneDrive\Bureau\Pocketmine\Nasagaki\PvpFaction\plugins\)
#19 pmsrc/src/PocketMine(364): pocketmine\server()
#20 pmsrc(11): require(string[106] phar://C:/Users/amine/OneDrive/Bureau/Pocketmine/Nasagaki/PvpFaction/PocketMine-)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show