Added TODO

This commit is contained in:
Cedric Beck
2024-10-02 18:37:31 +02:00
parent 02f7a6542e
commit 82d86a378a

View File

@@ -238,6 +238,9 @@ public void loadMap(File file) throws IOException {
final ShipMapDTO dto = ShipMapDTO.loadFrom(file);
if (!dto.fits(logic.getDetails()))
throw new IOException(lookup("map.doesnt.fit"));
//TODO: Server JSON Check
ownMap().clear();
dto.getShips().forEach(ownMap()::add);
harbor().clear();