I'm quite new to making games in Java, and this is my first project making a game. For some reason, my code is causing a NullPointerException that I couldn't find the cause of it.
Edit: Was a very dumb mistake that caused a chain reaction it's solved now