I basically have an infinite amount of worlds creating each other and I'd like to fix it like this:
except i need something that actually works instead of "activeWorld()" (active world as in the one on the screen)
if(activeWorld() == this){ MyWorld mw1 = new MyWorld(); }