mirror of
https://github.com/GeyserMC/PackConverter.git
synced 2025-12-19 14:59:21 +00:00
Don't allow pack changing while converting
This commit is contained in:
@@ -141,6 +141,7 @@ public class ThunderGUI extends JFrame {
|
||||
JButton javaPackButton = new JButton("Select Pack");
|
||||
javaPackButton.setBounds(20, 20, 200, 200);
|
||||
javaPackButton.addActionListener(event -> {
|
||||
if (converting.get()) return;
|
||||
FileDialog chooser = new FileDialog(this);
|
||||
chooser.setTitle("Select Resource Pack");
|
||||
chooser.setMultipleMode(false);
|
||||
|
||||
Reference in New Issue
Block a user