Skip to content

Commit

Permalink
fix returning of number of known (reported) machines.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkohout committed Jul 8, 2023
1 parent 5a3d8da commit b1ee73e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {

group = 'io.github.robocup-logistics'
archivesBaseName = "java-sdk"
version = '0.1.17.8'
version = '0.1.17.9'

description = ""

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rcll/refbox/RefboxClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ public Integer getCurrentPoint() {
}

public Integer getKnownMachinesCount() {
return this.machineClient.orElseThrow().getCountMachines();
return this.getMachineZones().size();
}

public Set<Integer> getPreparedOrders() {
Expand Down

0 comments on commit b1ee73e

Please sign in to comment.