issue with integer parse on double
This commit is contained in:
parent
b088f200c6
commit
40e65772b2
|
|
@ -175,7 +175,7 @@ public class Criminals {
|
||||||
pos = new Pos(Integer.parseInt(split_pos[0]), Integer.parseInt(split_pos[1]), Integer.parseInt(split_pos[2]), Integer.parseInt(split_pos[3]), split_pos[4]);
|
pos = new Pos(Integer.parseInt(split_pos[0]), Integer.parseInt(split_pos[1]), Integer.parseInt(split_pos[2]), Integer.parseInt(split_pos[3]), split_pos[4]);
|
||||||
}
|
}
|
||||||
|
|
||||||
criminals.add(new Criminal(UUID.fromString(split[0]), split[1], Integer.parseInt(split[2]), Long.parseLong(split[3]), pos));
|
criminals.add(new Criminal(UUID.fromString(split[0]), split[1], Double.parseDouble(split[2]), Long.parseLong(split[3]), pos));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
System.out.println(e);
|
System.out.println(e);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue