This commit is contained in:
bombcar committed 2021-12-31 22:41:20 -06:00
1 parent bd177ae0bc
commit 6aa549db9a
1 file changed
+1 -1
@@ -124,7 +124,7 @@ public class CodeChickenCorePlugin implements IFMLLoadingPlugin, IFMLCallHook
public static void systemCheck(String minRAM) {
long minBytes = parseSize(minRAM);
if (Runtime.getRuntime().maxMemory() < minBytes) {
String err = "You should have at least " + minRAM + "of RAM but you have only allocated " + humanReadableByteCountBin(Runtime.getRuntime().maxMemory()) + ".";
String err = "You should have at least " + minRAM + " of RAM but you have only allocated " + humanReadableByteCountBin(Runtime.getRuntime().maxMemory()) + ".";
logger.error(err);
JEditorPane ep = new JEditorPane("text/html",