Skip to content

Commit 48b6282

Browse files
Fix a player who doesn't support ExtEntityPositions, causing a teleport packet to be sent to players who do support ExtEntityPosition but without the extended position bits, which stuffed everything up.
1 parent 04583fa commit 48b6282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fCraft/Network/Player.Networking.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,7 @@ void CheckOwnChange(sbyte id, Player other) {
16311631
if (needsUpdate) {
16321632
Entities.Spawn(other, false, this, id);
16331633
// need to send teleport packet for correct position
1634-
other.Send(TeleportPacket(id, Position));
1634+
other.Send(other.TeleportPacket(id, Position));
16351635
}
16361636

16371637
if ((oldMob != Info.Model || oldafkMob != afkMob) && other.Supports(CpeExt.ChangeModel)) {

0 commit comments

Comments
 (0)