geforkt von SteamWar/BungeeCore
Fix Node NumberFormatException
Dieser Commit ist enthalten in:
Ursprung
5918a2530a
Commit
064796ec48
@ -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.");
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren