Skip to content

Commit

Permalink
Make it so /tpp 0 0 0 puts you on the ground at level 0 instead of /t…
Browse files Browse the repository at this point in the history
…pp 0 102 0 (thanks goodly)
  • Loading branch information
UnknownShadow200 committed Mar 5, 2020
1 parent a420071 commit 6555aee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MCGalaxy/Commands/other/CmdTp.cs
Expand Up @@ -83,9 +83,9 @@ public sealed class CmdTp : Command2 {
pos = Position.FromFeetBlockCoords(P.X, P.Y, P.Z);
} else {
// relative to feet position exactly
P = new Vec3S32(p.Pos.X, p.Pos.Y + Entities.CharacterHeight, p.Pos.Z);
P = new Vec3S32(p.Pos.X, p.Pos.Y - Entities.CharacterHeight, p.Pos.Z);
if (!CommandParser.GetCoords(p, args, 0, ref P)) return false;
pos = new Position(P.X, P.Y - Entities.CharacterHeight, P.Z);
pos = new Position(P.X, P.Y + Entities.CharacterHeight, P.Z);
}

int angle = 0;
Expand Down

0 comments on commit 6555aee

Please sign in to comment.