Skip to content

Commit

Permalink
Change warning to point at the correct alternative
Browse files Browse the repository at this point in the history
  • Loading branch information
ManlyMarco committed Oct 2, 2020
1 parent 43393bc commit 13a549d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Harmony/Public/Harmony.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public void UnpatchAll(string harmonyID = null)
{
if (harmonyID == null)
Logger.Log(Logger.LogChannel.Warn, () => "UnpatchAll has been called with harmonyID=null - This will remove ALL HARMONY PATCHES. " +
"If you want to only unpatch patches created by this instance (" + Id + "), pass the Id of this instance as an argument.");
"If you want to only unpatch patches created by this instance (" + Id + "), use UnpatchSelf() instead.");

bool IDCheck(Patch patchInfo)
{
Expand Down

0 comments on commit 13a549d

Please sign in to comment.