Invintory disappeared when i clicked a number on my keyboard game crashed
* Game started: true
* Game version: 0.1.36
* Ran for : 6 minutes, 4 seconds
* Current time: 2024-06-20 at 17:50:51.895542800+10:00[Australia/Sydney]
* Operating system: Windows 11 10.0
* Arch: amd64
* Java VM name: OpenJDK 64-Bit Server VM
* Java runtime version: 21.0.2+13-58
* System user language: en
* CPU model: AMD Ryzen 9 3900X 12-Core Processor
* Save location free / total space: 147.787 GB / 232.771 GB
* Available processors: 24
* Native heap use: 133 MB
* Java heap use: 133 MB
* Max memory available: 7.988 GB
* RAM available: 31.942 GB
* getGLVersion:
Type: OpenGL
Version: 4:6:0
Vendor: NVIDIA Corporation
Renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2
* Exception logs:
java.lang.NullPointerException: Cannot invoke "finalforeach.cosmicreach.items.ISlotContainer.getSlot(int)" because "this.container" is null
at finalforeach.cosmicreach.items.Hotbar.selectSlot(Hotbar.java:112)
at finalforeach.cosmicreach.items.Hotbar.keyDown(Hotbar.java:38)
at finalforeach.cosmicreach.ui.UI.keyDown(UI.java:145)
at com.badlogic.gdx.InputMultiplexer.keyDown(InputMultiplexer.java:80)
at com.badlogic.gdx.InputEventQueue.drain(InputEventQueue.java:58)
at com.badlogic.gdx.backends.lwjgl3.DefaultLwjgl3Input.update(DefaultLwjgl3Input.java:189)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:378)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:193)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:167)
at finalforeach.cosmicreach.lwjgl3.Lwjgl3Launcher.createApplication(Lwjgl3Launcher.java:71)
at finalforeach.cosmicreach.lwjgl3.Lwjgl3Launcher.main(Lwjgl3Launcher.java:60)