diff --git a/api/buildcraft/api/robots/ResourceIdRequest.java b/api/buildcraft/api/robots/ResourceIdRequest.java index a9a09ce0..9df58127 100755 --- a/api/buildcraft/api/robots/ResourceIdRequest.java +++ b/api/buildcraft/api/robots/ResourceIdRequest.java @@ -22,6 +22,10 @@ public class ResourceIdRequest extends ResourceId { private ForgeDirection side; private int slot; + public ResourceIdRequest() { + + } + public ResourceIdRequest(DockingStation station, int slot) { index = station.index(); side = station.side(); diff --git a/common/buildcraft/robotics/ai/AIRobotSearchStation.java b/common/buildcraft/robotics/ai/AIRobotSearchStation.java index ca2f0ee4..d9c400f7 100755 --- a/common/buildcraft/robotics/ai/AIRobotSearchStation.java +++ b/common/buildcraft/robotics/ai/AIRobotSearchStation.java @@ -45,6 +45,9 @@ public class AIRobotSearchStation extends AIRobot { DockingStation potentialStation = null; for (DockingStation station : robot.getRegistry().getStations()) { + if (!station.isInitialized()) { + continue; + } if (station.isTaken() && station.robotIdTaking() != robot.getRobotId()) { continue;