Fixed so that robot isn't repaired more than 0
system.out