Don't remember blacklisted files after deleting them
This commit is contained in:
parent
213b8227e1
commit
13878c3c74
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user