Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,12 @@ private static void renderWaypointMarkers(GuiGraphicsExtractor guiGraphicsExtrac
}

private static void extractWaypointBoxes(LevelExtractionContext context) {
// Mods that render a secondary world (e.g. Immersive Portals' portal
// destination pass) run extraction with no level render state.
if (context.levelState() == null) {
return;
}

String worldIdentifier = SimpleWaypointsImpl.INSTANCE.getWorldIdentifier(Minecraft.getInstance());
if (worldIdentifier == null) {
return;
Expand Down