How to remove all item types that are not of a specific type from my array.

Funny that I was wondering exactly if this was happening and it was. I researched exactly this and it turned out that the for each loop skips the index because the array is resizing. Well, anyway, here is the explanation and how to solve it. I’ll leave this post open in case anyone has any further questions.

Thank you very much also for your answer @ClockworkOcean :smiley:

1 Like