Unverified Commit 5aa07f12 authored by Kristof Szabados's avatar Kristof Szabados Committed by GitHub
Browse files

Minor fix

A variable can not be <0 and >65536 at the same time.
parent 8bc062bc
......@@ -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