mirror of
https://github.com/oliverbooth/VpSharp
synced 2024-11-10 03:55:41 +00:00
catch (VirtualParadiseException)
This commit is contained in:
parent
a90d2ccc7f
commit
eef5dcf1c2
@ -5,6 +5,7 @@ using System.Threading.Channels;
|
||||
using VpSharp.ClientExtensions;
|
||||
using VpSharp.Entities;
|
||||
using VpSharp.EventData;
|
||||
using VpSharp.Exceptions;
|
||||
using VpSharp.Internal;
|
||||
using VpSharp.Internal.NativeAttributes;
|
||||
using static VpSharp.Internal.Native;
|
||||
@ -239,7 +240,7 @@ public sealed partial class VirtualParadiseClient
|
||||
{
|
||||
virtualParadiseObject = await GetObjectAsync(objectId).ConfigureAwait(false);
|
||||
}
|
||||
catch // any exception: we don't care about GetObject failing. ID is always available
|
||||
catch (VirtualParadiseException) // any exception: we don't care about GetObject failing. ID is always available
|
||||
{
|
||||
virtualParadiseObject = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user