Skip to content

Commit

Permalink
Code cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
burningtnt committed Dec 27, 2023
1 parent 8e72f26 commit 3f0882f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions HMCL/src/main/java/net/burningtnt/hmclprs/Hooks.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ private Hooks() {
public static void onApplicationLaunch() {
if (JOptionPane.showConfirmDialog(
null, i18n("prs.warning"), i18n("message.warning"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.WARNING_MESSAGE
) == JOptionPane.OK_OPTION) {
return;
) != JOptionPane.OK_OPTION) {
System.exit(1);
}
System.exit(1);
}

public static String onInitApplicationName(String name) {
Expand Down

0 comments on commit 3f0882f

Please sign in to comment.