Added Shorthand Property for CalamityMod.Instance.Logger
This commit is contained in:
1 parent
6c4826ceb3
commit
ed22b65bed
23 files changed
+43
-42
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user