TigerGamer134
TigerGamer134
CC#
Created by TigerGamer134 on 10/22/2023 in #help
KeyNotFoundException: The given key was not present in the dictionary.
Nevermind, something was wrong with another part of my code that flagged this?
3 replies
CC#
Created by TigerGamer134 on 10/22/2023 in #help
KeyNotFoundException: The given key was not present in the dictionary.
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
3 replies