MidnightControls

MidnightControls

447k Downloads

Crash when opening inventory with EMI installed

Waoweens opened this issue ยท 4 comments

commented

Describe the bug
When EMI is installed, opening the inventory with a controller connected and enabled will display "Saving world" and then the game will crash.

Log and crash report: https://gist.github.com/Waoweens/81479194d6bc41fad4d00f3b892b6b33

To Reproduce
Steps to reproduce the behavior:

  1. Connect a controller
  2. Enable controller mode
  3. Open a world
  4. Open the inventory (with controller or keyboard)
  5. Crash

Expected behavior
The inventory will open without crashing

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Arch Linux (6.0.12-arch1-1)
  • Minecraft 1.19.2
  • Fabric
    • Fabric Loader 0.14.2
    • Fabric API 0.69.0+1.19.2
  • Mods
    • EMI 0.5.3+1.19.2
  • Version 1.7.1+1.19
  • Branch ?

Additional context
Add any other context about the problem here.

commented
---- Minecraft Crash Report ----
...
java.lang.NoClassDefFoundError: dev/emi/emi/EmiConfig
	at eu.midnightdust.midnightcontrols.client.compat.EMICompat.isEMIEnabled(EMICompat.java:43)


public static boolean isEMIEnabled() {
return EmiConfig.enabled;
}

"EmiConfig" seems to have been deleted in EMI 0.5.0 (emilyploszaj/emi@b3373c3)

Downgrading to EMI 0.4.3 "fixes" the crash

commented

Nevermind, it has not been deleted, it has been moved to dev/emi/emi/config/EmiConfig

commented

Can confirm, same issue

commented

Just backported 1.7.3 to 1.19.2, fixing this crash.