Added Shorthand Property for CalamityMod.Instance.Logger

This commit is contained in:
Flowaria authored and Cameron Ewell committed 2025-11-26 14:21:11 -05:00
1 parent 6c4826ceb3
commit ed22b65bed
23 files changed
+43 -42

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ namespace CalamityMod.Systems
// If the key already exists, log it as a warning and don't run any code.
if (GlobalSaveDataKeys.Contains(key))
{
CalamityMod.Instance.Logger.Error($"WARNING! A global save data key \"{key}\" which has already been registered is attempting to be registered again. " +
CalamityMod.Log.Error($"WARNING! A global save data key \"{key}\" which has already been registered is attempting to be registered again. " +
"Please report this to the Calamity Mod Team if you see this!");
return;
}