Collision Detection Problem

I’ve been having trouble with my collision detection and hoping that someone could shine some light on the subject to help me out. Here is the code i’m having problems with.
http://pastebin.java-gaming.org/54a6b5d54
For some reason, the counter keeps going out of the range of the array.

EntitySnail snail = (EntitySnail) snails.get(counter);

Shouldnt it be counter1 ?

That was exactly it, thanks so much. I never would’ve noticed that.

Fresh eyes often help :slight_smile: