Skip to content

Commit

Permalink
Remove debug text
Browse files Browse the repository at this point in the history
  • Loading branch information
Goodlyay committed Oct 30, 2022
1 parent fe4e758 commit f8c2678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MCGalaxy/Network/ClassicProtocol.cs
Expand Up @@ -361,7 +361,7 @@ public class ClassicProtocol : IGameSession
}
public override bool SendTeleport(byte id, Position pos, Orientation rot,
Packet.TeleportMoveMode moveMode, bool usePos = true, bool interpolateOri = false, bool useOri = true) {
if (!Supports(CpeExt.ExtEntityTeleport)) { player.Message("You dont SUPPORT"); return false; }
if (!Supports(CpeExt.ExtEntityTeleport)) { return false; }

// NOTE: Classic clients require offseting own entity by 22 units vertically when using absolute location updates
if ((moveMode == Packet.TeleportMoveMode.AbsoluteInstant || moveMode == Packet.TeleportMoveMode.AbsoluteSmooth) && id == Entities.SelfID)
Expand Down

0 comments on commit f8c2678

Please sign in to comment.