Code cleanup

This commit is contained in:
2025-07-10 18:58:49 +03:00
parent 1765358071
commit e7e0cbac05
38 changed files with 118 additions and 145 deletions
+2 -1
View File
@@ -23,7 +23,8 @@ namespace mROA.Implementation.Backend
public IChannelInteractionModule GetInteraction(int id)
{
return _connections!.GetValueOrDefault(id, null) ?? _connections!.GetValueOrDefault(-id, null) ?? throw new Exception("No connection found");
return _connections!.GetValueOrDefault(id, null) ?? _connections!.GetValueOrDefault(-id, null) ??
throw new Exception("No connection found");
}
public event ConnectionHandler? OnConnected;