Changed handle foundry to only create positve values

This commit is contained in:
Maschell 2017-03-27 20:10:22 +02:00
parent 59c328c194
commit e05d96f9b2

View File

@ -29,7 +29,7 @@ import java.util.Random;
public class HandleFoundry { public class HandleFoundry {
// We start with a random value, so we have at each startup a different clientID! // We start with a random value, so we have at each startup a different clientID!
private static int h = new Random().nextInt() % 10000; private static int h = new Random().nextInt(100000);
private HandleFoundry() { private HandleFoundry() {
} }