Iterate over the wrong list.

This commit is contained in:
asofold 2013-05-11 01:02:47 +02:00
parent ac4d103cc1
commit 9ae355c537

View File

@ -454,7 +454,7 @@ public class TickTask implements Runnable {
}
copyListeners = new ArrayList<TickListener>(tickListeners);
}
for (int i = 0; i < tickListeners.size(); i++){
for (int i = 0; i < copyListeners.size(); i++){
final TickListener listener = copyListeners.get(i);
try{
listener.onTick(tick, timeLast);