Skip to content

Commit

Permalink
Fix a player who doesn't support ExtEntityPositions, causing a telepo…
Browse files Browse the repository at this point in the history
…rt packet to be sent to players who do support ExtEntityPosition but without the extended position bits, which stuffed everything up.
  • Loading branch information
UnknownShadow200 committed Aug 20, 2017
1 parent 04583fa commit 48b6282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fCraft/Network/Player.Networking.cs
Expand Up @@ -1631,7 +1631,7 @@ bool LoginSequence()
if (needsUpdate) {
Entities.Spawn(other, false, this, id);
// need to send teleport packet for correct position
other.Send(TeleportPacket(id, Position));
other.Send(other.TeleportPacket(id, Position));
}

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

0 comments on commit 48b6282

Please sign in to comment.