diff --git a/src/types/camera/CameraTargetInstruction.php b/src/types/camera/CameraTargetInstruction.php index 90deda16..7e5c03fe 100644 --- a/src/types/camera/CameraTargetInstruction.php +++ b/src/types/camera/CameraTargetInstruction.php @@ -30,7 +30,7 @@ public function getActorUniqueId() : int{ return $this->actorUniqueId; } public static function read(PacketSerializer $in) : self{ $targetCenterOffset = $in->readOptional(fn() => $in->getVector3()); - $actorUniqueId = $in->getActorUniqueId(); + $actorUniqueId = $in->getLLong(); //why be consistent mojang ????? return new self( $targetCenterOffset, $actorUniqueId @@ -39,6 +39,6 @@ public static function read(PacketSerializer $in) : self{ public function write(PacketSerializer $out) : void{ $out->writeOptional($this->targetCenterOffset, fn(Vector3 $v) => $out->putVector3($v)); - $out->putActorUniqueId($this->actorUniqueId); + $out->putLLong($this->actorUniqueId); } }