Skip to content

Commit 8d3dfc0

Browse files
authored
Merge pull request #24 from jordanfly/patch-1
Update UnitCommand.java
2 parents 623f6be + 5ac76a0 commit 8d3dfc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/bwapi/UnitCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public static UnitCommand research(final Unit unit, final TechType tech) {
6262
}
6363

6464
public static UnitCommand upgrade(final Unit unit, final UpgradeType upgrade) {
65-
return new UnitCommand(unit, Research, null, -1, -1, upgrade.id);
65+
return new UnitCommand(unit, Upgrade, null, -1, -1, upgrade.id);
6666
}
6767

6868
public static UnitCommand setRallyPoint(final Unit unit, final Position target) {
@@ -344,4 +344,4 @@ public int hashCode() {
344344
return result;
345345
}
346346

347-
}
347+
}

0 commit comments

Comments
 (0)