diff --git a/VpSharp/src/VirtualParadiseClient.Objects.cs b/VpSharp/src/VirtualParadiseClient.Objects.cs index 1ca474a..62006fb 100644 --- a/VpSharp/src/VirtualParadiseClient.Objects.cs +++ b/VpSharp/src/VirtualParadiseClient.Objects.cs @@ -92,7 +92,7 @@ public sealed partial class VirtualParadiseClient ReasonCode reason; if (!_objectCompletionSources.TryGetValue(id, - out TaskCompletionSource<(ReasonCode, VirtualParadiseObject)>? taskCompletionSource)) + out TaskCompletionSource<(ReasonCode, VirtualParadiseObject?)>? taskCompletionSource)) { taskCompletionSource = new TaskCompletionSource<(ReasonCode, VirtualParadiseObject?)>(); _objectCompletionSources.TryAdd(id, taskCompletionSource);