mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
BUILDTOOLS-114 / MC-80817 : Fix server not starting when native processor info cannot be initialized.
This commit is contained in:
1 parent
d6ca19e075
commit
e9980aa94f
1 file changed
+11
@@ -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) {
|
||||
;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user