Update PatrolTask.java

Made a bit of code more compact.