Range checking fixed

This commit is contained in:
Jaromir Hamala
2014-12-05 14:12:45 +02:00
parent fbd0f3a1d6
commit 70e8462d86
@@ -326,7 +326,7 @@ public class NodeDiscovery {
"going the grid.");
}
if (possible == 128)
if (possible == Byte.MAX_VALUE)
possible = 0;
else
possible++;