We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 623f6be commit 674acf5Copy full SHA for 674acf5
1 file changed
src/main/java/bwapi/UnitCommand.java
@@ -62,7 +62,7 @@ public static UnitCommand research(final Unit unit, final TechType tech) {
62
}
63
64
public static UnitCommand upgrade(final Unit unit, final UpgradeType upgrade) {
65
- return new UnitCommand(unit, Research, null, -1, -1, upgrade.id);
+ return new UnitCommand(unit, Upgrade, null, -1, -1, upgrade.id);
66
67
68
public static UnitCommand setRallyPoint(final Unit unit, final Position target) {
0 commit comments