Skip to content

Commit 989375f

Browse files
committed
Refactor entityruntimeid
1 parent ea456c1 commit 989375f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LightningListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function Lightning(Player $player) :void{
3737
$pos = $player->getPosition();
3838
$light = new AddActorPacket();
3939
$light->type = "minecraft:lightning_bolt";
40-
$light->entityRuntimeId = 1;
40+
$light->actorRuntimeId = 1;
4141
$light->metadata = [];
4242
$light->motion = null;
4343
$light->yaw = $player->getLocation()->getYaw();

0 commit comments

Comments
 (0)