From 7b193099b6e6f640edaab4aae610b3caf25316b3 Mon Sep 17 00:00:00 2001 From: Jasper Geurtz Date: Sat, 7 Feb 2026 08:48:55 +0100 Subject: [PATCH] getId should be the id from bulletData, not the offset --- src/main/java/bwapi/Bullet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/bwapi/Bullet.java b/src/main/java/bwapi/Bullet.java index e462500..af7d92c 100644 --- a/src/main/java/bwapi/Bullet.java +++ b/src/main/java/bwapi/Bullet.java @@ -44,7 +44,7 @@ public final class Bullet implements Comparable { * @return An integer value containing the identifier. */ public int getID() { - return id; + return bulletData.getId(); } /**