diff --git a/src/main/java/com/replaymod/replay/gui/screen/GuiReplayViewer.java b/src/main/java/com/replaymod/replay/gui/screen/GuiReplayViewer.java index e610b9a4..2af222b8 100755 --- a/src/main/java/com/replaymod/replay/gui/screen/GuiReplayViewer.java +++ b/src/main/java/com/replaymod/replay/gui/screen/GuiReplayViewer.java @@ -86,12 +86,9 @@ public class GuiReplayViewer extends GuiScreen { } final ReplayMetaData metaData = replayFile.getMetaData(); - obj.consume(new Supplier() { - @Override - public GuiReplayEntry get() { - return new GuiReplayEntry(file, metaData, theThumb); - } - }); + if (metaData != null) { + obj.consume(() -> new GuiReplayEntry(file, metaData, theThumb)); + } } catch (Exception e) { FMLLog.getLogger().error("Could not load Replay File " + file.getName(), e); }