From 44d69297691f0ed1b139bb2983d2396f226bce26 Mon Sep 17 00:00:00 2001 From: Madpeter Date: Mon, 27 Apr 2020 22:50:34 +0100 Subject: [PATCH] remove unneed if check --- Core/bottypes/AwaitReplyEventBot.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Core/bottypes/AwaitReplyEventBot.cs b/Core/bottypes/AwaitReplyEventBot.cs index c82b731..037d563 100644 --- a/Core/bottypes/AwaitReplyEventBot.cs +++ b/Core/bottypes/AwaitReplyEventBot.cs @@ -99,11 +99,8 @@ namespace BSB.bottypes List PurgeAwaiters = new List(); foreach (KeyValuePair> await_reply in await_events["parcelobjectowners"]) { - if (UUID.TryParse(await_reply.Value.Value[0], out UUID test_group) == true) - { - PurgeAwaiters.Add(await_reply.Key); - await_reply.Value.Key.Callback(await_reply.Value.Value, e); - } + PurgeAwaiters.Add(await_reply.Key); + await_reply.Value.Key.Callback(await_reply.Value.Value, e); } foreach (string eventid in PurgeAwaiters) {