From 73777d63374d30a5731698481c21777d535703fa Mon Sep 17 00:00:00 2001 From: AirDeeEx <44472164+AirDeeEx@users.noreply.github.com> Date: Wed, 8 Apr 2020 11:45:13 +0300 Subject: [PATCH] Fix #12 "CleanDefPackage" issues (#13) * Fix #12 "CleanDefPackage" issues Fix incorrect field name. * Rebuild .dll's files --- RuntimeGC/1.1/Assemblies/RuntimeGC.dll | Bin 50176 -> 50176 bytes src/RuntimeGC/RuntimeGC/Toolbox.cs | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/RuntimeGC/1.1/Assemblies/RuntimeGC.dll b/RuntimeGC/1.1/Assemblies/RuntimeGC.dll index b5eff35fb553321e187041ac065de72b6a979b0f..2bcb2378c69446e9b9143c406ee5ff05264fac52 100644 GIT binary patch delta 2445 zcmZ`*eQZd5N75``OO(M{MlGv3dT;mlGgiq4_e9fKc0IO`5{8GP0Iw>zrMp zQY~~b8x*#oF5#ewjgO9qR&Cdhu(wqND1)k68QmyT)2%~l)vioKrCZsGP`lD>=f23U zBMtv?{JX#VJLjHr&wcm3%x+U=w`pRxsrSgP$shTlYx1c9xP}0W3y;6am=CL@1P;Pt z=)vtUjyF#hW3g0P*f7c%;Kq~7^gE=7OyNR_jo3kpGiKrKgtZ<*s#Zr% zkHP`}PMTGnE^RHbri8~iCl@j%Z&^b_z7sdfm9P^ZmTTZCoRU-inT2Y3PTrJL&*-M2 z=L_IP#~K?M+H&@dI5WsIyi@0 zl`ve!LrPehE5MhP8i?UWyAwZCT+nZzs9k}F40Jo8pAibf%f|QsjsGc-eLP#Us!`gq z%-uNYaN^%du*N`T4h6OusEN>F0}T>7W1w+De zMkNRTOKE1JqWEdN(=!IM_ylx~XOhKZsM_^Y9WrP??f0oAKFz3(r?tsiaGl?U95f8~Fx#C>GwIBd&`O z?~&o#u-!LA`*hfM1a{~h{%66qCnpnr{1kq+=sCE8&jbdfh7w#`9l?08)wa1L8(rkh z594UC*>-UuS&YYn%WZ9?3zQ=$Rjq=bV{g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-84,7 +84,7 @@ public static class DefPackageCleaner public static void CleanDefPackage() { - FieldInfo defPackages = typeof(ModContentPack).GetField("defPackages", BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.Instance | BindingFlags.Public); + FieldInfo defPackages = typeof(ModContentPack).GetField("defs", BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.Instance | BindingFlags.Public); int a = 0; foreach (ModContentPack pack in LoadedModManager.RunningMods) {