diff --git a/VpSharp/src/Entities/VirtualParadiseModelObject.cs b/VpSharp/src/Entities/VirtualParadiseModelObject.cs index 8705729..da1a811 100644 --- a/VpSharp/src/Entities/VirtualParadiseModelObject.cs +++ b/VpSharp/src/Entities/VirtualParadiseModelObject.cs @@ -1,4 +1,4 @@ -using VpSharp.Internal; +using VpSharp.Internal; using VpSharp.Internal.NativeAttributes; using static VpSharp.Internal.Native; @@ -54,10 +54,10 @@ public class VirtualParadiseModelObject : VirtualParadiseObject lock (Client.Lock) { IntPtr handle = Client.NativeInstanceHandle; - vp_int_set(handle, IntegerAttribute.ObjectId, Id); + _ = vp_int_set(handle, IntegerAttribute.ObjectId, Id); builder.ApplyChanges(); - vp_object_change(handle); + _ = vp_object_change(handle); } } diff --git a/VpSharp/src/Entities/VirtualParadiseObject.cs b/VpSharp/src/Entities/VirtualParadiseObject.cs index d300573..d90d593 100644 --- a/VpSharp/src/Entities/VirtualParadiseObject.cs +++ b/VpSharp/src/Entities/VirtualParadiseObject.cs @@ -86,7 +86,7 @@ public abstract class VirtualParadiseObject : IEquatable { lock (Client.Lock) { - vp_object_bump_begin(Client.NativeInstanceHandle, Id, session); + _ = vp_object_bump_begin(Client.NativeInstanceHandle, Id, session); } return ValueTask.CompletedTask; @@ -96,7 +96,7 @@ public abstract class VirtualParadiseObject : IEquatable { lock (Client.Lock) { - vp_object_bump_end(Client.NativeInstanceHandle, Id, session); + _ = vp_object_bump_end(Client.NativeInstanceHandle, Id, session); } return ValueTask.CompletedTask; @@ -139,7 +139,7 @@ public abstract class VirtualParadiseObject : IEquatable int session = target?.Session ?? 0; (float x, float y, float z) = (Vector3) (position ?? Vector3d.Zero); - vp_object_click(Client.NativeInstanceHandle, Id, session, x, y, z); + _ = vp_object_click(Client.NativeInstanceHandle, Id, session, x, y, z); } return Task.CompletedTask;