Fixed teleport to air, if owner is flying.
This commit is contained in:
1 parent
0259aed8be
commit
0d33f2d11d
1 file changed
+1
@@ -204,6 +204,7 @@ void cWolf::TickFollowPlayer()
|
||||
{
|
||||
if (!IsSitting())
|
||||
{
|
||||
Callback.OwnerPos.y = FindFirstNonAirBlockPosition(Callback.OwnerPos.x, Callback.OwnerPos.z);
|
||||
TeleportToCoords(Callback.OwnerPos.x, Callback.OwnerPos.y, Callback.OwnerPos.z);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user