KeyNotFoundException: The given key was not present in the dictionary.

Hey guys. I am attempting to send paramaters over to another method in a different file and im getting this random error (view title) and my code for the method is literally just a debug line "test"... Wondering if anyone could help
1 Reply
TigerGamer134
TigerGamer1348mo ago
public static async Task InstallModules()
{
Client.Subscribe<ClientMoved>(data =>
{
int[] clientIds = data.First().ClientIds;
int channelId = data.First().TargetChannel;

WaitingRoomNotification.SendWaitingNotif(clientIds, channelId);
});
}
public static async Task InstallModules()
{
Client.Subscribe<ClientMoved>(data =>
{
int[] clientIds = data.First().ClientIds;
int channelId = data.First().TargetChannel;

WaitingRoomNotification.SendWaitingNotif(clientIds, channelId);
});
}
Where im calling the method
public async static void SendWaitingNotif(int[] clientIds, int channel)
{
Log.Debug("test");
}
public async static void SendWaitingNotif(int[] clientIds, int channel)
{
Log.Debug("test");
}
The method itself Nevermind, something was wrong with another part of my code that flagged this?