This commit is contained in:
ProfessorXZ 2016-08-01 22:37:27 +02:00
parent e5349d95c9
commit 952da9609a
4 changed files with 5 additions and 4 deletions

View file

@ -2490,7 +2490,7 @@ namespace TShockAPI
}
if (!args.Player.HasPermission(Permissions.ignorenoclipdetection) &&
TSCheckNoclip(pos, args.TPlayer.width, args.TPlayer.height) && !TShock.Config.IgnoreNoClip
TSCheckNoclip(pos, args.TPlayer.width, args.TPlayer.height - (args.TPlayer.mount.Active ? args.Player.TPlayer.mount.HeightBoost : 0)) && !TShock.Config.IgnoreNoClip
&& !args.TPlayer.tongued)
{
var lastTileX = args.Player.LastNetPosition.X;