File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public function getActorUniqueId() : int{ return $this->actorUniqueId; }
30
30
31
31
public static function read (PacketSerializer $ in ) : self {
32
32
$ targetCenterOffset = $ in ->readOptional (fn () => $ in ->getVector3 ());
33
- $ actorUniqueId = $ in ->getActorUniqueId ();
33
+ $ actorUniqueId = $ in ->getLLong (); //why be consistent mojang ?????
34
34
return new self (
35
35
$ targetCenterOffset ,
36
36
$ actorUniqueId
@@ -39,6 +39,6 @@ public static function read(PacketSerializer $in) : self{
39
39
40
40
public function write (PacketSerializer $ out ) : void {
41
41
$ out ->writeOptional ($ this ->targetCenterOffset , fn (Vector3 $ v ) => $ out ->putVector3 ($ v ));
42
- $ out ->putActorUniqueId ($ this ->actorUniqueId );
42
+ $ out ->putLLong ($ this ->actorUniqueId );
43
43
}
44
44
}
You can’t perform that action at this time.
0 commit comments