I'm trying to make a maze in Java using recursive divisions of "chambers" and have managed to make it render so far, however there are many empty chambers, which should not be possible (see highlights in image).
You can find my code here:
https://pastebin.com/gVpbQFg5Please anons help me, you are my last hope.