game crashes, when another mod adds a GridWidget/GridLayout to the pause menu, on 6.1.0-rc.4 1.19.4
fayer3 opened this issue ยท 4 comments
when another mod adds a GridWidget/GridLayout to the pause menu the game crashes, because of a failed cast
as an example, of a mod that does that, we with vivecraft do it, to get two buttons in one button slot.
latest log:
latest.log
crash report:
crash-2023-03-20_13.16.22-client.txt
affected code
doing a simple typecheck before the cast should prevent the crash
for the moving of stuff you can cast to
Widget
instead I think.By any chance can you provide a jar file with this fix? I'm not familiar with compiling java lol
Will be releasing a fix shortly, fixed in d8daccd