Skip to content

Commit 7b19309

Browse files
author
Jasper Geurtz
committed
getId should be the id from bulletData, not the offset
1 parent d6e40e1 commit 7b19309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/bwapi/Bullet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public final class Bullet implements Comparable<Bullet> {
4444
* @return An integer value containing the identifier.
4545
*/
4646
public int getID() {
47-
return id;
47+
return bulletData.getId();
4848
}
4949

5050
/**

0 commit comments

Comments
 (0)