Gui should never terminate on it's own.
This commit is contained in:
@ -41,6 +41,7 @@ import javax.swing.JPanel;
|
||||
import javax.swing.JScrollPane;
|
||||
import javax.swing.JTextArea;
|
||||
import javax.swing.SwingUtilities;
|
||||
import javax.swing.WindowConstants;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.util.LimitLinesDocumentListener;
|
||||
@ -315,6 +316,7 @@ public class Gui
|
||||
|
||||
// Set frame.
|
||||
JFrame frame = new JFrame("Mobius - GameServer");
|
||||
frame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
|
||||
frame.addWindowListener(new WindowAdapter()
|
||||
{
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user