Archiviert
1
0

Fix Node NumberFormatException

Dieser Commit ist enthalten in:
yoyosource 2021-09-27 16:55:54 +02:00
Ursprung 5918a2530a
Commit 064796ec48

Datei anzeigen

@ -194,9 +194,6 @@ public abstract class Node {
} catch (IOException | NumberFormatException e) { } catch (IOException | NumberFormatException e) {
BungeeCore.get().getLogger().log(Level.SEVERE, "Could not read cores of" + remote, e); BungeeCore.get().getLogger().log(Level.SEVERE, "Could not read cores of" + remote, e);
c = 1; c = 1;
} catch (NumberFormatException e) {
BungeeCore.get().getLogger().log(Level.SEVERE, "Could not read cores of" + remote, e);
c = 1;
} }
cores = c; cores = c;
BungeeCore.get().getLogger().log(Level.INFO, "Adding node " + remote + " with " + cores + " cores."); BungeeCore.get().getLogger().log(Level.INFO, "Adding node " + remote + " with " + cores + " cores.");