From e9980aa94fe4791ba8ec88560282a0bec5cf9cd5 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 29 May 2015 15:23:52 +1000 Subject: [PATCH] BUILDTOOLS-114 / MC-80817 : Fix server not starting when native processor info cannot be initialized. --- nms-patches/SystemUtils.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 nms-patches/SystemUtils.patch diff --git a/nms-patches/SystemUtils.patch b/nms-patches/SystemUtils.patch new file mode 100644 index 0000000000..2ce12c015b --- /dev/null +++ b/nms-patches/SystemUtils.patch @@ -0,0 +1,11 @@ +--- a/net/minecraft/server/SystemUtils.java ++++ b/net/minecraft/server/SystemUtils.java +@@ -32,7 +32,7 @@ + Processor[] aprocessor = (new SystemInfo()).getHardware().getProcessors(); + + SystemUtils.a = String.format("%dx %s", new Object[] { Integer.valueOf(aprocessor.length), aprocessor[0]}).replaceAll("\\s+", " "); +- } catch (Exception exception) { ++ } catch (Throwable exception) { + ; + } +