Unverified Commit cfa5e3e2 authored by Lenard Nagy's avatar Lenard Nagy Committed by GitHub
Browse files

Merge pull request #622 from ekrisza/patch-2

Minor fix
parents cb13319b 5aa07f12
......@@ -44,7 +44,7 @@ public final class Runtime_Parallel_main {
try {
final int MC_port = Integer.parseInt(argv[1]);
if (MC_port < 0 && MC_port > 65536) {
if (MC_port < 0 || MC_port > 65536) {
throw new NumberFormatException();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment