-
Bug
-
Resolution: Fixed
-
1.18.1, 1.19 Pre-release 3
-
None
-
Confirmed
-
Crash
-
Very Important
The bug
If you drag an item out of a creative menu and into the Survival Inventory tab, it will crash the game.
How to reproduce
- Enable Touchscreen Mode in the Controls menu
- Open the Creative inventory
- Press and hold your cursor on an item, and drag the item above the Survival Inventory icon (the chest in the bottom right)
- Release and quickly re-press the item (you should now see the Survival Inventory page but still be holding the item)
- Release the item over a slot in the Survival Inventory page
Crash
Stack trace
1.18.1: actually crash lol (client).txt
Description: mouseReleased event handler java.lang.ClassCastException: class eec$a cannot be cast to class eec$c (eec$a and eec$c are in unnamed module of loader 'app') at eec.a(SourceFile:217) at edp.c(SourceFile:495) at eec.c(SourceFile:523) at dxp.a(SourceFile:96) at ecr.a(SourceFile:491) at dxp.a(SourceFile:96) at dxp.c(SourceFile:165) at auh.execute(SourceFile:101) at dxp.b(SourceFile:165) at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36) at org.lwjgl.system.JNI.invokeV(Native Method) at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101) at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:195) at drp.e(SourceFile:310) at dxo.f(SourceFile:1142) at dxo.e(SourceFile:733) at net.minecraft.client.main.Main.main(SourceFile:238)