Example #1
0
 public BetterLettersMod(ModContentPack content) : base("legodude17.bletters", null, content, false)
 {
     Harm.Patch(AccessTools.Method(typeof(LetterStack), "ReceiveLetter",
                                   new[] { typeof(Letter), typeof(string) }), new HarmonyMethod(typeof(BetterLettersMod), "CheckForBlock"));
     ExtraLetterOptions.DoPatch(Harm);
     ArchiveSearchBar.DoPatches(Harm);
     Instance = this;
 }