/// <summary> /// Make server threadsafe if necessary /// </summary> /// <param name="plugin">The plugin to check.</param> private void HandleThreadSafe(T plugin) { if (!plugin.ThreadSafe) { logger.Trace($"Plugin '{plugin.Name}' has requested that DarkRift operates in thread safe mode."); server.MakeThreadSafe(); } }