Skip to content

Commit 9a6709c

Browse files
author
bytekeeper
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents 674acf5 + 5669f9b commit 9a6709c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Add JBWAPI as a dependecy
3535
<dependency>
3636
<groupId>com.github.JavaBWAPI</groupId>
3737
<artifactId>JBWAPI</artifactId>
38-
<version>0.4.2</version>
38+
<version>0.5</version>
3939
</dependency>
4040
```
4141

@@ -53,7 +53,7 @@ allprojects {
5353
Add JBWAPI as a dependecy
5454
```
5555
dependencies {
56-
implementation 'com.github.JavaBWAPI:JBWAPI:0.4.2'
56+
implementation 'com.github.JavaBWAPI:JBWAPI:0.5'
5757
}
5858
```
5959

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>jbwapi</groupId>
88
<artifactId>jbwapi</artifactId>
9-
<version>0.4.2</version>
9+
<version>0.5</version>
1010

1111
<properties>
1212
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

src/main/java/bwapi/Game.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ public boolean canBuildHere(final TilePosition position, final UnitType type, fi
745745
}
746746

747747
// Power Check
748-
if (type.requiresPsi() && hasPower(lt, type)) {
748+
if (type.requiresPsi() && !hasPower(lt, type)) {
749749
return false;
750750
}
751751

src/main/java/bwapi/UnitCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,4 +344,4 @@ public int hashCode() {
344344
return result;
345345
}
346346

347-
}
347+
}

0 commit comments

Comments
 (0)