Allow reflection into Game1
Pathoschild opened this issue ยท 1 comments
SMAPI 2.0 prevents mods from reflecting into SMAPI internals using the SMAPI reflection API, but that also prevents reflection into SMAPI subclasses (even if the mod is reflecting into the vanilla base class).
Sample code:
helper.Reflection.GetPrivateMethod(Game1.game1, "drawFarmBuildings").Invoke();