Fixed Bug In Order.java

Fixed bug where orders would only execute for one cycle.