Adding parent class to arraylist with internal function

That’s fine. I think this information here should make debugging this a lot easier. I’m a bit busy right now but if nobody picks this up soon I’ll take a look at it again later.

I think what you have here might be enough information to start looking at solutions.