We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea456c1 commit 989375fCopy full SHA for 989375f
src/LightningListener.php
@@ -37,7 +37,7 @@ public function Lightning(Player $player) :void{
37
$pos = $player->getPosition();
38
$light = new AddActorPacket();
39
$light->type = "minecraft:lightning_bolt";
40
- $light->entityRuntimeId = 1;
+ $light->actorRuntimeId = 1;
41
$light->metadata = [];
42
$light->motion = null;
43
$light->yaw = $player->getLocation()->getYaw();
0 commit comments