[SMAPI] The StardewValley.Menus.ShopMenu menu crashed while drawing itself. SMAPI will force it to exit to avoid crashing the game.
NullReferenceException: Object reference not set to an instance of an object.
at StardewValley.BellsAndWhistles.SpriteText.getWidthOfString(String s, Int32 widthConstraint) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\BellsAndWhistles\SpriteText.cs:line 52
at StardewValley.Menus.ShopMenu.draw(SpriteBatch b) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\ShopMenu.cs:line 2026
at StardewModdingAPI.Framework.SModHooks.TryDrawMenu(IClickableMenu menu, Action draw_menu_action) in SMAPI\Framework\SModHooks.cs:line 114
报错就出这个
NullReferenceException: Object reference not set to an instance of an object.
at StardewValley.BellsAndWhistles.SpriteText.getWidthOfString(String s, Int32 widthConstraint) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\BellsAndWhistles\SpriteText.cs:line 52
at StardewValley.Menus.ShopMenu.draw(SpriteBatch b) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\ShopMenu.cs:line 2026
at StardewModdingAPI.Framework.SModHooks.TryDrawMenu(IClickableMenu menu, Action draw_menu_action) in SMAPI\Framework\SModHooks.cs:line 114
报错就出这个