Entoarox / StardewMods

My updated mods repository
36 stars 37 forks source link

Fix issue where patching happens too late in SMAPI 2.4+ #43

Closed Pathoschild closed 6 years ago

Pathoschild commented 6 years ago

This pull request uses SpecialisedEvents.UnvalidatedUpdateTick in ALL to apply the content pack patches as soon as Game1.hasLoadedGame is set. This resolves the issue mentioned in pathoschild/SMAPI#446.

Pathoschild commented 6 years ago

Also, since that event has lots of potential for breaking the game, SMAPI shows this warning for mods that use it:

Advanced Location Loader uses a specialised SMAPI event that may crash the game or corrupt your save file. If you encounter problems, try removing this mod first.