diff --git a/src/main/java/com/eaw1805/orders/fleet/BuildShip.java b/src/main/java/com/eaw1805/orders/fleet/BuildShip.java index 8638e47..2abcff6 100644 --- a/src/main/java/com/eaw1805/orders/fleet/BuildShip.java +++ b/src/main/java/com/eaw1805/orders/fleet/BuildShip.java @@ -166,6 +166,7 @@ public void process() { getOrder().setResult(1); getOrder().setExplanation("new ship [" + shipName + "] of type " + shipTPE.getName() + " built at " + thisSector.getPosition().toString()); + } else { // delay build of ship newsSingle(getOrder().getNation(), NEWS_MILITARY, diff --git a/src/main/java/com/eaw1805/orders/fleet/RepairFleet.java b/src/main/java/com/eaw1805/orders/fleet/RepairFleet.java index 37ddc47..b35ca39 100644 --- a/src/main/java/com/eaw1805/orders/fleet/RepairFleet.java +++ b/src/main/java/com/eaw1805/orders/fleet/RepairFleet.java @@ -61,7 +61,6 @@ public void process() { thisFleet = FleetManager.getInstance().getByID(fleetId); } - if (thisFleet != null) { boolean isAllied = false; if (thisFleet.getNation().getId() != getOrder().getNation().getId()) { diff --git a/src/main/java/com/eaw1805/orders/fleet/RepairShip.java b/src/main/java/com/eaw1805/orders/fleet/RepairShip.java index ca234d9..c6a4b7f 100644 --- a/src/main/java/com/eaw1805/orders/fleet/RepairShip.java +++ b/src/main/java/com/eaw1805/orders/fleet/RepairShip.java @@ -163,6 +163,7 @@ public void process() { getOrder().setResult(-7); getOrder().setExplanation("not owner of sector"); } + } else { getOrder().setResult(-8); getOrder().setExplanation("cannot locate ship");