Nevermind, I fixed the problem. This thread can be deleted. Thank you all.
Printable View
Nevermind, I fixed the problem. This thread can be deleted. Thank you all.
How are you generating random numbers? Something like this?
Code :Random rand = new Random(); rand.nextInt(3); // Generates a 0, 1, or 2