From 0ad74a5b4fa46f6a43efef31fc8cf07b56c449d7 Mon Sep 17 00:00:00 2001 From: Madpeterz <57852827+Madpeterz@users.noreply.github.com> Date: Sun, 13 Jun 2021 17:02:36 +0100 Subject: [PATCH] Update Inventory.cs corrects a check when sending inventory so the command works --- Core/Commands/Inventory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Commands/Inventory.cs b/Core/Commands/Inventory.cs index 43a5494..d74fa5d 100644 --- a/Core/Commands/Inventory.cs +++ b/Core/Commands/Inventory.cs @@ -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 }); }