Hello again. Thanks for the advice. My array from the inventory probably works I guess. However, my function get item count seems to get no input from the branch I made. That branch needs to check if the class that needs to be declarated is there or not. However, that branch always returns false.
I don’t know why that happens and I need to solve it of course.
If you need any more information, let me know.