Update Inventory.cs
corrects a check when sending inventory so the command works
This commit is contained in:
parent
150f4f9686
commit
0ad74a5b4f
1 changed files with 1 additions and 1 deletions
|
|
@ -304,7 +304,7 @@ namespace BetterSecondBot.HttpService
|
|||
{
|
||||
return Failure("Invaild avatar uuid", "SendItem", new [] { item, avatar });
|
||||
}
|
||||
if (UUID.TryParse(item, out UUID targetitem) == true)
|
||||
if (UUID.TryParse(item, out UUID targetitem) == false)
|
||||
{
|
||||
return Failure("Invaild item uuid", "SendItem", new [] { item, avatar });
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue