diff --git a/src/main/java/dev/koifysh/archipelago/ItemManager.java b/src/main/java/dev/koifysh/archipelago/ItemManager.java index 2a7276e..d9d80f4 100644 --- a/src/main/java/dev/koifysh/archipelago/ItemManager.java +++ b/src/main/java/dev/koifysh/archipelago/ItemManager.java @@ -34,7 +34,7 @@ public void receiveItems(ArrayList ids, int index) { item.itemName = dp.getItem(item.itemID, client.getGame()); item.locationName = dp.getLocation(item.locationID, client.getSlotInfo().get(item.playerID).game); item.playerName = client.getRoomInfo().getPlayer(myTeam,item.playerID).alias; - client.getEventManager().callEvent(new ReceiveItemEvent(item, index)); + client.getEventManager().callEvent(new ReceiveItemEvent(item, i)); } this.index = receivedItems.size();