Allow creating markers during replay

This commit is contained in:
johni0702
2015-11-08 09:54:16 +01:00
parent 3323f998e7
commit dfd133d84f
2 changed files with 18 additions and 6 deletions

View File

@@ -29,10 +29,7 @@ import org.lwjgl.opengl.Display;
import org.lwjgl.util.Point;
import java.io.IOException;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import java.util.UUID;
import java.util.*;
import static net.minecraft.client.renderer.GlStateManager.*;
import static org.lwjgl.opengl.GL11.GL_COLOR_BUFFER_BIT;
@@ -81,7 +78,7 @@ public class ReplayHandler {
FMLCommonHandler.instance().bus().post(new ReplayOpenEvent.Pre(this));
markers = replayFile.getMarkers().or(Collections.<Marker>emptySet());
markers = new HashSet<>(replayFile.getMarkers().or(Collections.<Marker>emptySet()));
replaySender = new ReplaySender(this, replayFile, asyncMode);