Fixed code

This commit is contained in:
RaphiMC 2023-04-08 16:02:26 +02:00
parent 2c4cb91ff7
commit f840a002e7

View File

@ -102,8 +102,8 @@ public class ViaProxy {
Logger.LOGGER.fatal("ViaProxy is not able to run with less than 512MB of RAM."); Logger.LOGGER.fatal("ViaProxy is not able to run with less than 512MB of RAM.");
if (hasUI) { if (hasUI) {
JOptionPane.showMessageDialog(null, "ViaProxy is not able to run with less than 512MB of RAM.", "Critical Error", JOptionPane.ERROR_MESSAGE); JOptionPane.showMessageDialog(null, "ViaProxy is not able to run with less than 512MB of RAM.", "Critical Error", JOptionPane.ERROR_MESSAGE);
System.exit(1);
} }
System.exit(1);
} }
loadNetty(); loadNetty();