We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f0ea3d commit b72fc57Copy full SHA for b72fc57
CSync/Lib/ConfigManager.cs
@@ -87,6 +87,8 @@ public static void Register<T>(T config) where T : SyncedConfig<T> {
87
throw new InvalidOperationException($"Attempted to register config instance of type `{typeof(T)}`, but an instance has already been registered.", exc);
88
}
89
90
+ Plugin.Logger.LogDebug($"Successfully registered config instance {key}.");
91
+
92
SyncedInstance<T>.Instance = config;
93
SyncedInstance<T>.Default = config;
94
OnPopulateEntriesRequested += config.PopulateEntryContainer;
0 commit comments