Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Tikuf 2020-04-25 19:47:19 -06:00
commit 837329340b
4 changed files with 11 additions and 7 deletions

View file

@ -1,4 +1,5 @@
using System;
using OpenMetaverse;
using System;
using System.Collections.Generic;
using System.Text;
@ -17,7 +18,7 @@ namespace BetterSecondBot.HttpServer.Control.Interface
{
if (ArgsCheck(args) == true)
{
if (bot.GetCommandsInterface.Call(args[0], args[1]) == true)
if (bot.GetCommandsInterface.Call(args[0], args[1], UUID.Zero) == true)
{
return new string[] { "OK" };
}

View file

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Text;
using OpenMetaverse;
namespace BSB.RLV.Movement
{
@ -13,7 +14,7 @@ namespace BSB.RLV.Movement
{
if (args[1] == "force")
{
return bot.GetCommandsInterface.Call("rotateto", args[0]);
return bot.GetCommandsInterface.Call("rotateto", args[0], UUID.Zero);
}
return Failed("magic word force is required [dont ask me]");
}

View file

@ -1,4 +1,5 @@
using System;
using OpenMetaverse;
using System;
using System.Collections.Generic;
using System.Text;
@ -16,7 +17,7 @@ namespace BSB.RLV.Sitting
{
if (args[1] == "force")
{
return bot.GetCommandsInterface.Call("sit", args[0]);
return bot.GetCommandsInterface.Call("sit", args[0], UUID.Zero);
}
else
{

View file

@ -1,4 +1,5 @@
using System;
using OpenMetaverse;
using System;
using System.Collections.Generic;
using System.Text;
@ -10,7 +11,7 @@ namespace BSB.RLV.Sitting
{
if (args[0] == "force")
{
return bot.GetCommandsInterface.Call("stand", "");
return bot.GetCommandsInterface.Call("stand", "", UUID.Zero);
}
else if ((args[0] == "y") || (args[0] == "n"))
{