Fix IndexOutOfBoundsException in Replay Center and Viewer when disk access is very fast

This commit is contained in:
johni0702
2015-08-14 20:45:29 +02:00
parent 26d20d0f91
commit 8630675f5c
2 changed files with 9 additions and 9 deletions

View File

@@ -100,7 +100,7 @@ public class GuiReplayViewer extends GuiScreen implements GuiYesNoCallback {
}
}
mc.addScheduledTask(new Runnable() {
loadedReplaysQueue.offer(new Runnable() {
@Override
public void run() {
replayGuiList.removeEntry(loadingListEntry);