From e62188aa2239f69b4196a601e82c6ea2e9343aea Mon Sep 17 00:00:00 2001 From: Madpeterz <57852827+Madpeterz@users.noreply.github.com> Date: Thu, 18 Feb 2021 21:21:44 +0000 Subject: [PATCH] Update Movement.cs --- Core/Commands/Movement.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Commands/Movement.cs b/Core/Commands/Movement.cs index 5734592..d6be45b 100644 --- a/Core/Commands/Movement.cs +++ b/Core/Commands/Movement.cs @@ -20,7 +20,7 @@ namespace BetterSecondBot.HttpService [About("uses the AutoPilot to move to a location")] [ReturnHints("Error Unable to AutoPilot to location")] - [ReturnHints("Accepted")] + [ReturnHints("ok")] [ReturnHints("Convert to vector has failed")] [ReturnHints("? value out of range 0-?")] [ArgHints("x", "URLARG", "X location to AutoPilot to")] @@ -55,7 +55,7 @@ namespace BetterSecondBot.HttpService uint Globalx, Globaly; Utils.LongToUInts(bot.GetClient.Network.CurrentSim.Handle, out Globalx, out Globaly); bot.GetClient.Self.AutoPilot((ulong)(Globalx + pos.X), (ulong)(Globaly + pos.Y), pos.Z); - return true; + return BasicReply("ok"); } [About("Attempt to teleport to a new region")]