Prevent application from automatically reloading server

This commit is contained in:
Manuel Thalmann 2022-11-16 21:29:39 +01:00
parent ce65993bee
commit aaea1a9d87

View file

@ -186,10 +186,6 @@ public class ExBoxFrame extends JFrame implements ActionListener, ItemListener {
}
private void execute(String args) throws Exception {
if (lastServer != null) {
command = ServerFactory.createServer(lastServer);
}
if (!arguments.getText().equals(history.getItemAt(0))
&& !arguments.getText().equals(history.getSelectedItem())) {
history.insertItemAt(arguments.getText(), 0);