BetterCrashes
6 merged pull requests.
Bug Fixes
- #23 CrashUtils.openCrashReport and openBrowser now call org.lwjgl.Sys.openURL instead of java.awt.Desktop and return a boolean. GuiProblemScreen uses named button id constants, no longer disables buttons on failure, and swaps the upload button text to the new openUploadedCrashReport lang key once uploaded. - @danyadev
- Added: Open uploaded report button text
- Fixed: crash report not opening on macOS with lwjgl3ify
- #20 GuiProblemScreen wraps the mod list string into lines (max 3, MOD_LIST_WIDTH 310) and exposes getButtonY(), which GuiCrashScreen, GuiInitErrorScreen and GuiProblemScreen use for button positions. - @Eldrinn-Elantey
- Fixed: Suspected mod list overflowing the crash screen
- #19 Removed the Loader.isModLoaded("custommainmenu") condition from the loop in MinecraftMixin.betterCrashes$runGUILoop. The author tested with custom main menu and it still crashes correctly. - @tiffit
- Fixed: Hang on the loading screen after a crash
- #17 GuiProblemScreen.drawScreen calls Tessellator.instance.draw() inside a try block that swallows IllegalStateException before drawing the background. Linked to Angelica PR 1729. - @czqwq
- Fixed: Crash screen failing with an IllegalStateException from the Tessellator
Performance
- #18 Added caching to makeModMap() and untransformName() methods in ModIdentifier to prevent redundant mod lookups during error processing, removed unused method and fixed typo. - @Algent
- Added: caching layer for mod identification
- Removed: unused method
- Fixed: excessive error report generation
Chores
- #22 Enables Jabel and generic injection, replaces the deprecated token replacement with a generated Tags class (vfyjxf.bettercrashes.Tags), and types the scheduledTasks shadow in MinecraftMixin as Queue<FutureTask<?>>. - @Eldrinn-Elantey
- Added: generated Tags class
- Removed: deprecated gradle token replacement
Contributors
Everyone who authored, reviewed or co-authored a change on this page, with how many of them:
@boubou19 (3), @Eldrinn-Elantey (2), @Algent (1), @alppp (1), @Caedis (1), @czqwq (1), @danyadev (1), @Nana-Sakura (1), @Nikolay-Sitnikov (1), @tiffit (1)