Skip to content

Commit

Permalink
Remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
Menci committed Jan 25, 2025
1 parent 089f431 commit 5d8e34f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions AquaMai.Mods/GameSystem/Unlock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ private static void InitializeCollectionHooks()
target.userDataProperty != null &&
target.dataManagerMethod != null)
.ToList();
MelonLogger.Msg($"[Unlock.CollectionHook] Collection hooks generated = {collectionHooks.Count()}");
}

private static bool CollectionHookEnabled => collectionHooks.Count > 0;
Expand Down Expand Up @@ -262,7 +261,6 @@ public class CollectionHook
})
.ToList();
allUnlockedItemsCache[dataManagerMethod] = result;
MelonLogger.Msg($"[Unlock.CollectionHook] {dataManagerMethod.Name} generated = {result.Count}");
return result;
}

Expand Down Expand Up @@ -310,7 +308,6 @@ private static void ModifyUserData(bool restore, ref Dictionary<PropertyInfo, Pr
backup[userDataProperty] = new(From: currentValue, To: allUnlockedItems);
userDataProperty.SetValue(userData, allUnlockedItems);
}
MelonLogger.Msg($"[Unlock.CollectionHook] {userDataProperty.Name} {(restore ? "restored" : "modified")}.");
}
}
}
Expand Down

0 comments on commit 5d8e34f

Please sign in to comment.