menu
#9718732 Class "juqn\airdrops\utils\Entity" not found

Submitted by PocketMine-MP 5.8.2

General information

Version: 5.8.2
Git commit: c3c81b09
Plugin involvement: Direct
Report date: 2023-12-03 05:17:08 +0000 UTC
Server uptime: 0 days 0 hours 1 minutes 6 seconds

System Information

PHP version: 8.1.26
JIT status: Not available
Operating system: linux
System banner: Linux c17b88d2-9e61-4de2-80f6-20fa48ce9de5 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64

Error information

Warning: the AirDropsMaster plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: Class "juqn\airdrops\utils\Entity" not found
File: plugins/AirDrops/src/juqn/airdrops/utils/Utils
Line: #75
Type: Error
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
        });

$menu->send($player, TextFormat::colorize('&cAirdrops loot'));
}
public static function rayo(Player $player): void
{
$location = $player->getLocation();
$light = new AddActorPacket();
$light->type = "minecraft:lightning_bolt";
$light->actorUniqueId = Entity::nextRuntimeId();
$light->actorRuntimeId = 1;
$light->metadata = [];
$light->motion = null;
$light->yaw = $location->getYaw();
$light->pitch = $location->getPitch();
$light->position = $location->asVector3();
$light->syncedProperties = new PropertySyncData([], []); // New update ^^

Server::getInstance()->broadcastPackets($player->getWorld()->getPlayers(), [$light]);
}
#0 plugins/AirDrops/src/juqn/airdrops/AirDrops(135): juqn\airdrops\utils\Utils::rayo(object pocketmine\player\Player#94254)
#1 pmsrc/src/event/RegisteredListener(61): juqn\airdrops\AirDrops->handleInteract(object pocketmine\event\player\PlayerInteractEvent#53794)
#2 pmsrc/src/event/Event(63): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerInteractEvent#53794)
#3 pmsrc/src/world/World(2148): pocketmine\event\Event->call()
#4 pmsrc/src/player/Player(1816): pocketmine\world\World->useItemOn(object pocketmine\math\Vector3#53868, object pocketmine\item\ItemBlock#53838, int 1, object pocketmine\math\Vector3#53823, object pocketmine\player\Player#94254, true, array[0])
#5 pmsrc/src/network/mcpe/handler/InGamePacketHandler(490): pocketmine\player\Player->interactBlock(object pocketmine\math\Vector3#53868, int 1, object pocketmine\math\Vector3#53876)
#6 pmsrc/src/network/mcpe/handler/InGamePacketHandler(343): pocketmine\network\mcpe\handler\InGamePacketHandler->handleUseItemTransaction(object pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData#53885)
#7 pmsrc/vendor/pocketmine/bedrock-protocol/src/InventoryTransactionPacket(94): pocketmine\network\mcpe\handler\InGamePacketHandler->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket#54462)
#8 pmsrc/src/network/mcpe/NetworkSession(445): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#143664)
#9 pmsrc/src/network/mcpe/NetworkSession(383): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket#54462, string[166] .......[.............v.........airdrops..n...display...Name)...r..f..ka..r ..6..)
#10 pmsrc/src/network/mcpe/raklib/RakLibInterface(219): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[222] c.ab.Sa........k...&f..2F9.&...(.C;3.......e..3r10pp0$f......32.q.3.d...$Vr.0.%.)
#11 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(40): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[231] .8i.<J2e,6=?aUtgt....{....r)*q...]i;.oX.k.....-u.....>.....y<.)..?E.F..UDA"`....)
#12 pmsrc/src/network/mcpe/raklib/RakLibInterface(111): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#120967)
#13 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#14 pmsrc/src/TimeTrackingSleeperHandler(58): pocketmine\snooze\SleeperHandler->processNotifications()
#15 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(79): pocketmine\TimeTrackingSleeperHandler->processNotifications()
#16 pmsrc/src/Server(1683): pocketmine\snooze\SleeperHandler->sleepUntil(float 1701580628.3811)
#17 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
#18 pmsrc/src/PocketMine(341): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#19 pmsrc/src/PocketMine(364): pocketmine\server()
#20 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show