Added system property to ignore system requirements

This commit is contained in:
RaphiMC 2023-04-10 19:01:04 +02:00
parent caf95fb5fe
commit 52f31b527e

View File

@ -103,8 +103,10 @@ public class ViaProxy {
if (hasUI) {
JOptionPane.showMessageDialog(null, "ViaProxy is not able to run with less than 512MB of RAM.", "Critical Error", JOptionPane.ERROR_MESSAGE);
}
if (System.getProperty("ignoreSystemRequirements") == null) {
System.exit(1);
}
}
loadNetty();
saveManager = new SaveManager();