From 13878c3c743d7a2f8335bf67fa0fc96d57be542c Mon Sep 17 00:00:00 2001 From: Downforce Agent Date: Sun, 30 Jun 2024 17:56:30 -0500 Subject: [PATCH] Don't remember blacklisted files after deleting them --- src/MissPiggy.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MissPiggy.java b/src/MissPiggy.java index 755f9cf..9a0dd7f 100644 --- a/src/MissPiggy.java +++ b/src/MissPiggy.java @@ -436,6 +436,7 @@ public class MissPiggy implements ActionListener { file.delete(); System.out.println("Deleted " + Main.Mods.get(modList.getSelectedIndex()).friendlyName); //debug Main.Mods.remove(modList.getSelectedIndex()); + regenerateModBlacklist(false); regenerateModIndex(true); } else { JOptionPane.showMessageDialog(frame, "Please select a mod to delete first.", "Error", JOptionPane.ERROR_MESSAGE);