From bef6b346b7334e65ea08930e3e9f8009a53a5c32 Mon Sep 17 00:00:00 2001 From: snixtho Date: Mon, 29 May 2023 10:35:29 +0200 Subject: [PATCH] Fix parameter type for ForceSpectator with login --- src/GbxRemote.Net/GbxRemoteClient.Methods.Players.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GbxRemote.Net/GbxRemoteClient.Methods.Players.cs b/src/GbxRemote.Net/GbxRemoteClient.Methods.Players.cs index c7d380f..67560da 100644 --- a/src/GbxRemote.Net/GbxRemoteClient.Methods.Players.cs +++ b/src/GbxRemote.Net/GbxRemoteClient.Methods.Players.cs @@ -160,7 +160,7 @@ await CallOrFaultAsync("ForceScores", playerScores, silentMode) /// /// /// - public async Task ForceSpectatorAsync(int playerLogin, int cameraType) + public async Task ForceSpectatorAsync(string playerLogin, int cameraType) { return (bool) XmlRpcTypes.ToNativeValue( await CallOrFaultAsync("ForceSpectator", playerLogin, cameraType)