diff --git a/enigma-swing/src/main/java/org/quiltmc/enigma/gui/config/Config.java b/enigma-swing/src/main/java/org/quiltmc/enigma/gui/config/Config.java index 06afc4557..b613e4d08 100644 --- a/enigma-swing/src/main/java/org/quiltmc/enigma/gui/config/Config.java +++ b/enigma-swing/src/main/java/org/quiltmc/enigma/gui/config/Config.java @@ -125,7 +125,10 @@ public static Theme.Fonts currentFonts() { } public static void insertRecentProject(String jarPath, String mappingsPath) { - main().recentProjects.value().add(0, new RecentProject(jarPath, mappingsPath)); + RecentProject project = new RecentProject(jarPath, mappingsPath); + if (!main().recentProjects.value().contains(project)) { + main().recentProjects.value().add(0, new RecentProject(jarPath, mappingsPath)); + } } @Nullable