minicraft-plus-revived
minicraft-plus-revived copied to clipboard
Game crashes when dropping an item in 2.2.1-dev2(pre-release2)
Describe the bug The game crashes when dropping any item with Q or Shift-Q
Steps to reproduce the error:
- Grab any item
- Drop item with Q or Shift-Q
Log Unhandled error: General Application Crash java.lang.ClassCastException: minicraft.screen.Menu cannot be cast to minicraft.screen.InventoryMenu at minicraft.screen.PlayerInvDisplay.update(PlayerInvDisplay.java:361) at minicraft.screen.InventoryMenu.tick(InventoryMenu.java:67) at minicraft.screen.Display.tick(Display.java:102) at minicraft.screen.PlayerInvDisplay.tick(PlayerInvDisplay.java:88) at minicraft.core.Updater.tick(Updater.java:192) at minicraft.core.Initializer.run(Initializer.java:95) at minicraft.core.Game.main(Game.java:133)