issue with integer parse on double

This commit is contained in:
xamora 2026-07-10 00:56:39 +02:00
parent b088f200c6
commit 40e65772b2

View file

@ -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);
} }